import end
-class Object
- fun ==(o: nullable Object): Bool do return self is o
+interface Object
+ fun ==(o: nullable Object): Bool do return self.is_same_instance(o)
fun !=(o: nullable Object): Bool do return not (self == o)
- fun output is intern
+ fun is_same_instance(other: nullable Object): Bool is intern
end
-
class Bool
- redef fun output is intern
+ fun output is intern
end
class A