nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nitcc: factorize code of alternative reduction
[nit.git]
/
tests
/
base_eq_null_notnull.nit
diff --git
a/tests/base_eq_null_notnull.nit
b/tests/base_eq_null_notnull.nit
index
f6d7424
..
b59ffa0
100644
(file)
--- a/
tests/base_eq_null_notnull.nit
+++ b/
tests/base_eq_null_notnull.nit
@@
-16,7
+16,7
@@
import end
-class Object
+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 is_same_instance(other: nullable Object): Bool is intern