Files
sdk/pkg/front_end/testcases/metadata_enum.dart.direct.transformed.expect
T
Samir Jindel 4289a9967b Check expected outputs of transforms.
Change-Id: I56ff4d4391b7a22d709dc60b696646895928e34c
Reviewed-on: https://dart-review.googlesource.com/46100
Reviewed-by: Peter von der Ahé <ahe@google.com>
Commit-Queue: Samir Jindel <sjindel@google.com>
2018-03-15 12:11:13 +00:00

21 lines
768 B
Plaintext

library;
import self as self;
import "dart:core" as core;
@self::a
class E extends core::Object {
final field core::int index;
final field core::String _name;
static const field core::List<self::E> values = const <self::E>[self::E::E1, self::E::E2, self::E::E3];
static const field self::E E1 = const self::E::•(0, "E.E1");
static const field self::E E2 = const self::E::•(1, "E.E2");
static const field self::E E3 = const self::E::•(2, "E.E3");
const constructor •(core::int index, core::String _name) → void
: self::E::index = index, self::E::_name = _name, super core::Object::•()
;
method toString() → core::String
return this.{=self::E::_name};
}
static const field dynamic a = null;
static method main() → dynamic {}