blob: 5f679a52ef07bded0dc5ced009c9f1d1d1eb9718 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
static method f() dynamic {
core::int a = 0;
dynamic b = null;
dynamic c = throw "foo";
() core::int d = () core::int => 0;
() core::Null e = () core::Null => null;
() <BottomType>f = () <BottomType>=> throw "foo";
() core::int g = () core::int {
return 0;
};
() core::Null h = () core::Null {
return null;
};
() <BottomType>i = () <BottomType>{
return throw "foo";
};
}
static method main() dynamic {}