nitc :: AAttrPropdef :: init_expr
fun init_expr(v: AbstractCompilerVisitor, recv: RuntimeVariable)
do
if has_value and not is_lazy and not is_optional and not n_expr isa ANullExpr then evaluate_expr(v, recv)
end
src/compiler/abstract_compiler.nit:3623,2--3626,4
redef fun init_expr(v, recv)
do
super
if is_lazy and v.compiler.modelbuilder.toolcontext.opt_no_union_attribute.value then
var guard = self.mlazypropdef.mproperty
v.write_attribute(guard, recv, v.bool_instance(false))
end
end
src/compiler/separate_compiler.nit:2667,2--2674,4