Files
sdk/pkg/front_end/testcases/check_deferred_before_write.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

27 lines
611 B
Plaintext

library;
import self as self;
import "deferred_lib.dart" as def;
import "org-dartlang-testcase:///deferred_lib.dart" deferred as lib;
static method main() → dynamic {}
static method test() → dynamic {
let final dynamic #t1 = CheckLibraryIsLoaded(lib) in def::x = 2;
}
library;
import self as def;
import "dart:core" as core;
class C extends core::Object {
static field core::int y = 1;
synthetic constructor •() → def::C
: super core::Object::•()
;
static method m() → core::int
return 2;
}
static field core::int x = 0;
static method m(dynamic x) → dynamic
return null;