Browse Source

Fixed problem in bootstrap

Yentl Van Tendeloo 8 years ago
parent
commit
a5ab6e5e6b
1 changed files with 1 additions and 1 deletions
  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!