فهرست منبع

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