blob: 4d95231ba72065f8227128d53df04fdb66c446eb [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) void
: self::A::foo = foo, super core::Object::•()
;
operator ==(core::Object other) core::bool {
if(other is self::A && other{self::A}.{self::A::foo}.{core::String::==}(this.{self::A::foo})) {
if(other{self::A}.{self::A::foo}.{core::String::==}(this.{self::A::foo})) {
}
}
return true;
}
}
static method main() dynamic {
core::print(new self::A::•("hello").{self::A::==}(new self::A::•("hello")));
}