mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:49:00 +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
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ class A {
|
|||
}
|
||||
|
||||
main() {
|
||||
// Reference the type, or dart2js won't see that the declaration is invalid
|
||||
F1 _ = null; /// 01: continued
|
||||
|
||||
var a = new A();
|
||||
|
||||
int local({x = 3, y : 5, z}) => x * y * (z ?? 2);
|
||||
|
|
Loading…
Reference in a new issue