ソースを参照

Fixed passing of object instead of name

Yentl Van Tendeloo 10 年 前
親
コミット
2a42dfb735
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_type = find_attribute_type(model, element, attribute_name)
 	attr_name = model_add_value(model, "", value)
 	attr_name = model_add_value(model, "", value)
 	retype(model, attr_name, getName(model["metamodel"], read_edge_dst(model["metamodel"]["model"][attr_type])))
 	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
 	return