Explorar o código

Fixed problem in bootstrap

Yentl Van Tendeloo %!s(int64=8) %!d(string=hai) anos
pai
achega
a5ab6e5e6b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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!