Преглед на файлове

Fixed passing of object instead of name

Yentl Van Tendeloo преди 9 години
родител
ревизия
26168d9498
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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