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

Fixed problem in bootstrap

Yentl Van Tendeloo преди 8 години
родител
ревизия
a5ab6e5e6b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      bootstrap/object_operations.alc

+ 1 - 1
bootstrap/object_operations.alc

@@ -116,7 +116,7 @@ Element function getAttributeList(model : Element, element : String):
 		while (0 < list_len(keys)):
 			attr_name = set_pop(keys)
 			if (is_physical_string(attr_name)):
-				attr_type = reverseKeyLookup(model["metamodel"]["model"], type[attr_name])
+				attr_type = reverseKeyLookup(model["metamodel"]["model"], model["metamodel"]["model"][type][attr_name])
 				dict_add(result, attr_name, attr_type)
 
 	return result!