blob: b2fff72a7ff8581d3f14225e61cb7ae725e16e08 [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{self::A*}.{self::A::foo}.{core::String::==}(this.{self::A::foo}) && other{self::A*}.{self::A::foo}.{core::String::==}(this.{self::A::foo});
}
static method main() dynamic {
core::print(new self::A::•("hello").{self::A::==}(new self::A::•("hello")));
}