blob: e1c03c1e9d459d048cd67bb851bc04b9beb7caff [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
class A extends core::Object {
final field core::String* foo;
constructor •(core::String* foo) self::A*
: self::A::foo = foo, super core::Object::•()
;
operator ==(core::Object* other) core::bool*
return other is self::A* && other.foo.==(this.{self::A::foo});
}
static method main() dynamic {
core::print(new self::A::•("hello").==(new self::A::•("hello")));
}