From 958e4f8d97931fb98d2cca3020c159310862190c Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Tue, 26 Nov 2013 15:58:47 -0500 Subject: [PATCH] lib: make `is_same_instance` intern Signed-off-by: Jean Privat --- lib/standard/kernel.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/standard/kernel.nit b/lib/standard/kernel.nit index bbc2b70..b9ce5e8 100644 --- 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? ## -- 1.7.9.5