From 138bc6a259a2befa5274be44110b560afb5409a8 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Sat, 3 Jan 2015 16:36:19 -0500 Subject: [PATCH] loader: make `mmodule2nmodule` private Signed-off-by: Jean Privat --- src/loader.nit | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/loader.nit b/src/loader.nit index d5b8797..93ef66c 100644 --- a/src/loader.nit +++ b/src/loader.nit @@ -551,8 +551,9 @@ redef class ModelBuilder var nmodules = new Array[AModule] # Register the nmodule associated to each mmodule - # FIXME: why not refine the `MModule` class with a nullable attribute? - var mmodule2nmodule = new HashMap[MModule, AModule] + # + # Public clients need to use `mmodule2node` to access stuff. + private var mmodule2nmodule = new HashMap[MModule, AModule] # Retrieve the associated AST node of a mmodule. # This method is used to associate model entity with syntactic entities. -- 1.7.9.5