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 摘要。