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:
Lasse R.H. Nielsen 2016-10-14 12:56:40 +02:00
parent ac76d3eb9f
commit 523da59d56

View file

@ -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);