nitc/interpreter: NaiveInterpreter::mainmodule is writable
authorJean Privat <jean@pryen.org>
Fri, 21 Apr 2017 18:56:07 +0000 (14:56 -0400)
committerJean Privat <jean@pryen.org>
Fri, 21 Apr 2017 18:56:25 +0000 (14:56 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/interpreter/naive_interpreter.nit

index 430af89..6e6b24b 100644 (file)
@@ -61,7 +61,7 @@ class NaiveInterpreter
        var modelbuilder: ModelBuilder
 
        # The main module of the program (used to lookup method)
-       var mainmodule: MModule
+       var mainmodule: MModule is writable
 
        # The command line arguments of the interpreted program
        # arguments.first is the program name