blob: 174f17d81bb74515854009a84380835c77eb99d0 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
class Color extends core::Object {
final field core::int x;
constructor •(core::int x) self::Color
: self::Color::x = x, super core::Object::•()
;
static get red() self::Color
return new self::Color::•(1);
}
static method main() void {
self::Color c = self::Color::red;
}