nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a7d144
)
lib: make `is_same_instance` intern
author
Jean Privat
<jean@pryen.org>
Tue, 26 Nov 2013 20:58:47 +0000
(15:58 -0500)
committer
Jean Privat
<jean@pryen.org>
Wed, 27 Nov 2013 15:00:10 +0000
(10:00 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>
lib/standard/kernel.nit
patch
|
blob
|
history
diff --git
a/lib/standard/kernel.nit
b/lib/standard/kernel.nit
index
bbc2b70
..
b9ce5e8
100644
(file)
--- a/
lib/standard/kernel.nit
+++ b/
lib/standard/kernel.nit
@@
-37,7
+37,7
@@
interface Object
# Return true if `self` and `other` are the same instance.
# Unless specific code, you should use `==` instead.
- fun is_same_instance(other: nullable Object): Bool do return self is other #is intern
+ fun is_same_instance(other: nullable Object): Bool is intern
# Have `self` and `other` the same value?
##