We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Example (library foo.dart):
foo.dart
abstract class Key { const factory Key(String value) = ValueKey; const Key.empty(); } abstract class LocalKey extends Key { const LocalKey() : super.empty(); } class ValueKey implements LocalKey { const ValueKey(this.value); final String value; } void main() { var k = Key('t'); /* breakpoint here */ print('$k'); }
Initial compilation
of expression Key('t') generates following kernel:
Key('t')
new #lib1::ValueKey::•("t")
Incremental compilation
#lib1::Key::•("t")
This causes DDC to create incorrect JS that evaluates to null at runtime:
null
foo.Key.new("t")
Repro
See skipped tests in pkg/frontend_server/lib/src/expression_compiler.dart in https://dart-review.googlesource.com/c/sdk/+/148468
The text was updated successfully, but these errors were encountered:
[CFE] Make incremental tests output expect files for expression compi…
acb552d
…lations Also add reproduction for issue #41976. Change-Id: I65c55ce0b7ef65e28903b924945e148a1a2285d8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/149844 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Jens Johansen <[email protected]>
978342b
Enable tests for a fixed issue
57cf6eb
#41976 Change-Id: Ia294b421f52a9cccd98198e16fd17d3eff7e9238 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153941 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Anna Gringauze <[email protected]>
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Example (library
foo.dart
):Initial compilation
of expression
Key('t')
generates following kernel:new #lib1::ValueKey::•("t")
Incremental compilation
#lib1::Key::•("t")
This causes DDC to create incorrect JS that evaluates to
null
at runtime:foo.Key.new("t")
Repro
See skipped tests in pkg/frontend_server/lib/src/expression_compiler.dart in
https://dart-review.googlesource.com/c/sdk/+/148468
The text was updated successfully, but these errors were encountered: