remove some depreciated FIXME
authorJean Privat <jean@pryen.org>
Fri, 26 Jul 2013 01:32:24 +0000 (21:32 -0400)
committerJean Privat <jean@pryen.org>
Fri, 26 Jul 2013 01:32:24 +0000 (21:32 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/model/model.nit
src/naive_interpreter.nit

index 58723eb..80d643f 100644 (file)
@@ -751,8 +751,6 @@ abstract class MType
 
        # Return the nullable version of the type
        # If the type is already nullable then self is returned
-       #
-       # FIXME: DO NOT WORK YET
        fun as_nullable: MType
        do
                var res = self.as_nullable_cache
@@ -1143,7 +1141,6 @@ class MParameterType
 end
 
 # A type prefixed with "nullable"
-# FIXME Stub implementation
 class MNullableType
        super MType
 
@@ -1662,8 +1659,6 @@ abstract class MPropDef
        #
        # This method is used to determine what method is called by a super.
        #
-       # FIXME: IMPLEMENTED AS A static designation, it is ugly
-       #
        # REQUIRE: not mtype.need_anchor
        fun lookup_next_definition(mmodule: MModule, mtype: MType): MPROPDEF
        do
index 90f8483..7e6fb6f 100644 (file)
@@ -466,7 +466,6 @@ private class NaiveInterpreter
 
        # Check that non nullable attributes of `recv' are correctly initialized.
        # This function is used as the last instruction of a new
-       # FIXME: this will work better once there is nullable types
        fun check_init_instance(recv: Instance)
        do
                if not recv isa MutableInstance then return
@@ -1586,7 +1585,6 @@ redef class ASuperExpr
 
                # stantard call-next-method
                var mpropdef = v.frame.mpropdef
-               # FIXME: we do not want an ugly static call!
                mpropdef = mpropdef.lookup_next_definition(v.mainmodule, recv.mtype)
                assert mpropdef isa MMethodDef
                var res = v.call(mpropdef, args)