lib: make `is_same_instance` intern
authorJean Privat <jean@pryen.org>
Tue, 26 Nov 2013 20:58:47 +0000 (15:58 -0500)
committerJean 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

index bbc2b70..b9ce5e8 100644 (file)
@@ -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?
        ##