OLD | NEW |
1 library; | 1 library; |
2 import self as self; | 2 import self as self; |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 | 4 |
5 static method main() → dynamic { | 5 static method main() → dynamic { |
6 function local(({a: dynamic}) → void f) → void { | 6 function local(({a: dynamic}) → void f) → void { |
7 f.call(a: "Hello, World"); | 7 f.call(a: "Hello, World"); |
8 f.call(); | 8 f.call(); |
9 } | 9 } |
10 local.call(({dynamic a = "Default greeting!"}) → dynamic { | 10 local.call(({dynamic a = "Default greeting!"}) → dynamic { |
11 core::print(a); | 11 core::print(a); |
12 }); | 12 }); |
13 } | 13 } |
OLD | NEW |