blob: c39e6d55941eca1fcfe411dbeb47b9f6a73e4a02 [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 method red() self::Color
return new self::Color::•(1);
}
static method main() void {
self::Color c = self::Color::red();
}