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 field dynamic _field = null; | 6 field dynamic _field = null; |
7 constructor •() → void | 7 constructor •() → void |
8 : super core::Object::•() | 8 : super core::Object::•() |
9 ; | 9 ; |
10 } | 10 } |
(...skipping 16 matching lines...) Expand all Loading... |
27 static method main() → dynamic { | 27 static method main() → dynamic { |
28 self::Foo foo = new self::Foo::•(); | 28 self::Foo foo = new self::Foo::•(); |
29 foo.{self::Foo::_field} = new self::FooValue::•(); | 29 foo.{self::Foo::_field} = new self::FooValue::•(); |
30 dynamic fooValue = foo.{self::Foo::_field}; | 30 dynamic fooValue = foo.{self::Foo::_field}; |
31 core::print(fooValue); | 31 core::print(fooValue); |
32 self::Bar bar = new self::Bar::•(); | 32 self::Bar bar = new self::Bar::•(); |
33 bar.{self::Bar::_field} = new self::BarValue::•(); | 33 bar.{self::Bar::_field} = new self::BarValue::•(); |
34 dynamic barValue = bar.{self::Bar::_field}; | 34 dynamic barValue = bar.{self::Bar::_field}; |
35 core::print(barValue); | 35 core::print(barValue); |
36 } | 36 } |
OLD | NEW |