Closed
Description
This issue was originally filed by @mhausner
Dartium fails test language/import_core_no_prefix_test after the VM implements the new import scope rules.
The command line embedder runs the test fine:
[d3 runtime]$ dart ../tests/language/import_core_no_prefix_test.dart"dart:core" imported.
When run in dartium, the test fails with this message:
Internal error: 'import_core_no_prefix_test.dart': Error: line 11 pos 3: ambiguous reference: 'print' is defined in library 'dart:core' and also in 'dart:core'
print('"dart:core" imported.');
^
Could it be that the dartium embedder imports dart:core twice, once through the explicit import statement, and once implicitly? That would explain the "ambiguous reference" error.