nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nullable: convert lib, tools and tests
[nit.git]
/
lib
/
standard
/
kernel.nit
diff --git
a/lib/standard/kernel.nit
b/lib/standard/kernel.nit
index
1377c71
..
80a1282
100644
(file)
--- a/
lib/standard/kernel.nit
+++ b/
lib/standard/kernel.nit
@@
-32,12
+32,12
@@
interface Object
# Have `self' and `other' the same value?
##
# Implicitely, the default implementation, is ==
# Have `self' and `other' the same value?
##
# Implicitely, the default implementation, is ==
- meth ==(other: Object): Bool do return self is other
+ meth ==(other: nullable Object): Bool do return self is other
# Have `self' and `other' different values?
##
# != is equivament with "not =".
# Have `self' and `other' different values?
##
# != is equivament with "not =".
- meth !=(other: Object): Bool do return not (self == other)
+ meth !=(other: nullable Object): Bool do return not (self == other)
# Display self on stdout (debug only).
meth output
# Display self on stdout (debug only).
meth output