index-out-of-bounds errors causes dart2wasm-compiled app to crash / display broken widgets

未關閉
#9,611 2 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 1 天內回覆

@elliette 已經在處理了。

開始於 2026年1月9日。

評估

這個 Issue 還沒有評估資料。

描述

dart2wasm P1

I noticed that if I explicitly trigger a RangeError when we setup our analytics (in _analytics_web.dart), it crashes our dart2wasm-compiled app, but not our dart2js app.

Need to investigate more, might be related to this comment here:

https://github.com/flutter/devtools/blob/77e37d7a957d3ff57af5236762a051d0825ac662/packages/devtools_app/lib/src/shared/framework/app_error_handling.dart#L60-L66

主要語言
Dart
星號
1.7k
分支
420
平均合併
3 天 11 小時
30 天內合併 PR
29

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

flutter/devtools 的其他 Issue

查看 flutter/devtools 的全部 Issue

相似的 Issue

更多 Dart Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。