|
@@ -152,7 +152,7 @@ String function cmd_attr_add_code(write : Boolean, model : Element, element_name
|
|
|
attrs = getAttributeList(model, element_name)
|
|
|
if (set_in(dict_keys(attrs), attr_name)):
|
|
|
output("Waiting for code constructors...")
|
|
|
- instantiate_attribute_code(model, element_name, attr_name)
|
|
|
+ instantiate_attribute_code(model, element_name, attr_name, construct_function())
|
|
|
return "Success"!
|
|
|
else:
|
|
|
return "Attribute not found: " + attr_name!
|