浏览代码

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