Files
sdk/pkg/front_end/testcases/check_deferred_static_method_call.dart.direct.expect
T
Sigmund Cherem f541f060ee [fe] deferred access checks for several access patterns of classes.
This adds checks for allocations and type values, and provides a compile
time error for type declarations, is-checks, and as-casts.

Change-Id: I3bfed41b0dd45abeb02158f0537102c779511998
Reviewed-on: https://dart-review.googlesource.com/36383
Commit-Queue: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Peter von der Ahé <ahe@google.com>
2018-02-02 20:44:16 +00:00

10 lines
250 B
Plaintext

library;
import self as self;
import "dart:core" as core;
import "./deferred_lib.dart" as def;
static method main() → dynamic {}
static method test() → dynamic {
core::print(let final dynamic #t1 = CheckLibraryIsLoaded(lib) in def::C::m());
}