Chromium Code Reviews| Index: test/kernel/regression/enum.dart.txt |
| diff --git a/test/kernel/regression/enum.dart.txt b/test/kernel/regression/enum.dart.txt |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6f517ea32312d812acd4974e36f6929d695fe9e2 |
| --- /dev/null |
| +++ b/test/kernel/regression/enum.dart.txt |
| @@ -0,0 +1,15 @@ |
| +library; |
| +import self as self; |
| +import "dart:core" as core; |
| + |
| +class Foo extends core::Object { |
| + final field dynamic index; |
| + static const field dynamic ec1 = const self::Foo::•(0); |
| + static const field dynamic ec2 = const self::Foo::•(1); |
| + static const field dynamic values = const <dynamic>[self::Foo::ec1, self::Foo::ec2]; |
| + const constructor •(core::int index) → void |
| + : self::Foo::index = index, super core::Object::•() |
| + ; |
| + method toString() → core::String |
| + return const <dynamic, dynamic>{0: "Foo.ec1", 1: "Foo.ec2"}.[](this.index); |
|
ahe
2016/06/20 17:27:26
This looks a bit odd, but I assume this is to simp
|
| +} |