java_compiler: Fix the documentation of `is_java_primitive`
authorJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Sat, 25 Mar 2017 02:45:14 +0000 (22:45 -0400)
committerJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Sun, 26 Mar 2017 03:43:25 +0000 (23:43 -0400)
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

src/compiler/java_compiler.nit

index f871f61..60aea2b 100644 (file)
@@ -1301,7 +1301,7 @@ redef class MType
 
        # Is the associated Java type a primitive one?
        #
-       # ENSURE `result == (java_type != "Object")`
+       # ENSURE `result == (java_type != "RTVal")`
        var is_java_primitive: Bool is lazy do return java_type != "RTVal"
 end