Files
sdk/pkg/front_end/testcases/inference/null_aware_method_invocation.dart.direct.expect
T
Jens Johansen c1160d8cfa [kernel] Change ast to text output to use synthetic instead of default
Change-Id: Ied8777df13aa0411daf89f3ad3ec6bdda7bb4898
Reviewed-on: https://dart-review.googlesource.com/35862
Reviewed-by: Kevin Millikin <kmillikin@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2018-01-19 09:58:46 +00:00

17 lines
433 B
Plaintext

library test;
import self as self;
import "dart:core" as core;
class C extends core::Object {
synthetic constructor •() → void
: super core::Object::•()
;
method f() → core::int
return null;
}
static method g(self::C c) → dynamic {
dynamic x = let final dynamic #t1 = c in #t1.==(null) ? null : #t1.f();
let final dynamic #t2 = c in #t2.==(null) ? null : #t2.f();
}
static method main() → dynamic {}