460d00616c
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>
28 lines
653 B
Plaintext
28 lines
653 B
Plaintext
library;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
import "deferred_lib.dart" as def;
|
|
|
|
import "org-dartlang-testcase:///deferred_lib.dart" deferred as lib;
|
|
|
|
static method main() → dynamic {}
|
|
static method test() → dynamic {
|
|
core::print(let final dynamic #t1 = CheckLibraryIsLoaded(lib) in def::C::m());
|
|
}
|
|
|
|
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;
|