modelbuilder: link MVirtualTypeDef to ATypePropdef in Modelbuilder::mpropdef2npropdef
authorAlexandre Terrasa <alexandre@moz-code.org>
Tue, 6 May 2014 03:25:57 +0000 (23:25 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Wed, 7 May 2014 06:03:14 +0000 (02:03 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

src/modelize_property.nit

index 9425fcf..b005ff4 100644 (file)
@@ -948,6 +948,7 @@ redef class ATypePropdef
 
                var mpropdef = new MVirtualTypeDef(mclassdef, mprop, self.location)
                self.mpropdef = mpropdef
+               modelbuilder.mpropdef2npropdef[mpropdef] = self
                set_doc(mpropdef)
        end