nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gamnit: extract Cuboid as super class to cube and intro Boxed3d::to_mesh
[nit.git]
/
tests
/
base_var_type_evolution_null_while.nit
diff --git
a/tests/base_var_type_evolution_null_while.nit
b/tests/base_var_type_evolution_null_while.nit
index
71ca47a
..
bd24e7c
100644
(file)
--- a/
tests/base_var_type_evolution_null_while.nit
+++ b/
tests/base_var_type_evolution_null_while.nit
@@
-14,7
+14,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.is_same_instance(o)
fun is_same_instance(other: nullable Object): Bool is intern