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 class Foo extends core::Object { | 5 class Foo extends core::Object { |
6 constructor •() → void | 6 constructor •() → void |
7 : super core::Object::•() | 7 : super core::Object::•() |
8 ; | 8 ; |
9 method instanceMethod() → dynamic { | 9 method instanceMethod() → dynamic { |
10 return 123; | 10 return 123; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 dynamic a = box.field; | 72 dynamic a = box.field; |
73 dynamic finalBox = new self::FinalBox::•("dfg"); | 73 dynamic finalBox = new self::FinalBox::•("dfg"); |
74 dynamic b = finalBox.finalField; | 74 dynamic b = finalBox.finalField; |
75 dynamic subBox = new self::SubFinalBox::•("dfg"); | 75 dynamic subBox = new self::SubFinalBox::•("dfg"); |
76 dynamic c = subBox.finalField; | 76 dynamic c = subBox.finalField; |
77 self::makeDynamicCall(new self::DynamicReceiver1::•()); | 77 self::makeDynamicCall(new self::DynamicReceiver1::•()); |
78 self::makeDynamicCall(new self::DynamicReceiver2::•()); | 78 self::makeDynamicCall(new self::DynamicReceiver2::•()); |
79 dynamic list = <dynamic>["string"]; | 79 dynamic list = <dynamic>["string"]; |
80 dynamic d = list.[](0); | 80 dynamic d = list.[](0); |
81 } | 81 } |
OLD | NEW |