Files
sdk/pkg/front_end/testcases/export_main.dart.strong.expect
T
Jens Johansen 460d00616c Better printing of imports
Before a import of, say "hello.dart" was printed as
"import './hello.dart'".
Now instead it is printed as "import 'hello.dart'".

At the same time we get rid of a dependency.

Change-Id: I352f0f507168fde75358704ec9bf0e248bb8179d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98480
Reviewed-by: Kevin Millikin <kmillikin@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2019-04-11 11:43:23 +00:00

17 lines
267 B
Plaintext

library;
import self as self;
import "hello.dart" as hel;
additionalExports = (hel::main)
export "org-dartlang-testcase:///hello.dart";
library;
import self as hel;
import "dart:core" as core;
static method main() → dynamic {
core::print("Hello, World!");
}