Browse Source

Fixed passing of object instead of name

Yentl Van Tendeloo 9 years ago
parent
commit
2a42dfb735
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bootstrap/modelling.alc

+ 1 - 1
bootstrap/modelling.alc

@@ -157,7 +157,7 @@ Void function instantiate_attribute(model : Element, element : String, attribute
 	attr_type = find_attribute_type(model, element, attribute_name)
 	attr_name = model_add_value(model, "", value)
 	retype(model, attr_name, getName(model["metamodel"], read_edge_dst(model["metamodel"]["model"][attr_type])))
-	instantiate_link(model, attr_type, "", element, value)
+	instantiate_link(model, attr_type, "", element, attr_name)
 
 	return