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