Skip to content

[dev_compiler] expression compiler does not emit constants generated from expression #43963

@annagrin

Description

@annagrin

Evaluating const expression for web currently fails - for example, evaluating const MyItem() on a breakpoint in the debugger will fail with undefined C0 from chrome. To fix this, we need to emit constants generated from expression compilation in ddc into the resulting JavaScrip function.

Metadata

Metadata

Assignees

Labels

area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions