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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 dynamic a = box.{self::Box::field}; | 66 dynamic a = box.{self::Box::field}; |
67 self::FinalBox finalBox = new self::FinalBox::•("dfg"); | 67 self::FinalBox finalBox = new self::FinalBox::•("dfg"); |
68 dynamic b = finalBox.{self::FinalBox::finalField}; | 68 dynamic b = finalBox.{self::FinalBox::finalField}; |
69 self::SubFinalBox subBox = new self::SubFinalBox::•("dfg"); | 69 self::SubFinalBox subBox = new self::SubFinalBox::•("dfg"); |
70 dynamic c = subBox.{self::FinalBox::finalField}; | 70 dynamic c = subBox.{self::FinalBox::finalField}; |
71 self::makeDynamicCall(new self::DynamicReceiver1::•()); | 71 self::makeDynamicCall(new self::DynamicReceiver1::•()); |
72 self::makeDynamicCall(new self::DynamicReceiver2::•()); | 72 self::makeDynamicCall(new self::DynamicReceiver2::•()); |
73 core::List<core::String> list = <core::String>["string"]; | 73 core::List<core::String> list = <core::String>["string"]; |
74 core::String d = list.{core::List::[]}(0); | 74 core::String d = list.{core::List::[]}(0); |
75 } | 75 } |
OLD | NEW |