mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 01:21:07 +00:00
Add reference to invalid typedef so dart2js will detect it.
R=floitsch@google.com Review URL: https://codereview.chromium.org/2417223002 .
This commit is contained in:
parent
ac76d3eb9f
commit
523da59d56
|
@ -32,6 +32,9 @@ class A {
|
||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
// Reference the type, or dart2js won't see that the declaration is invalid
|
||||||
|
F1 _ = null; /// 01: continued
|
||||||
|
|
||||||
var a = new A();
|
var a = new A();
|
||||||
|
|
||||||
int local({x = 3, y : 5, z}) => x * y * (z ?? 2);
|
int local({x = 3, y : 5, z}) => x * y * (z ?? 2);
|
||||||
|
|
Loading…
Reference in a new issue