Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dartdevc] Expression evaluation fails on map.first #44979

Closed
annagrin opened this issue Feb 11, 2021 · 0 comments
Closed

[dartdevc] Expression evaluation fails on map.first #44979

annagrin opened this issue Feb 11, 2021 · 0 comments
Assignees
Labels
area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.

Comments

@annagrin
Copy link
Contributor

Repro

void main() {
  var m = <String>[];
  m.add('b');
  // breakpoint here
}
  • debug the code above (targeting chrome)
  • stop at the line with the comment
  • try evaluating the following expression

Result

ReferenceError: $first is not defined

Expected

'b'

@annagrin annagrin self-assigned this Feb 11, 2021
@annagrin annagrin added the area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. label Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
Projects
None yet
Development

No branches or pull requests

1 participant