modelize: special lazy attribute is tagged fictive
authorJean Privat <jean@pryen.org>
Wed, 21 Oct 2015 20:29:19 +0000 (16:29 -0400)
committerJean Privat <jean@pryen.org>
Wed, 21 Oct 2015 20:29:19 +0000 (16:29 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/modelize/modelize_property.nit

index 25502fd..4624314 100644 (file)
@@ -1246,7 +1246,9 @@ redef class AAttrPropdef
                        end
                        is_lazy = true
                        var mlazyprop = new MAttribute(mclassdef, "lazy _" + name, none_visibility)
+                       mlazyprop.is_fictive = true
                        var mlazypropdef = new MAttributeDef(mclassdef, mlazyprop, self.location)
+                       mlazypropdef.is_fictive = true
                        self.mlazypropdef = mlazypropdef
                end