Commit d27837e0 authored by Leonard Faecke's avatar Leonard Faecke
Browse files

* Fixed automatic type

parent 1253c891
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -845,7 +845,7 @@ System.out.println("Analyzing function");
			if(t.getType() != null && t.getType().equals("anytype")) addToOutput(output, "FieldConstExpressionSpec_anytype");
			else addNToOutput(output, "FieldConstExpressionSpec_anytype", 0);
		}
		//automatic type
		//automatic type?
		for(ConstDef t : EcoreUtil2.getAllContentsOfType(module, ConstDef.class)) {
			if(t.getType() == null) addToOutput(output, "ConstDef_automatic_type");
		}
@@ -853,8 +853,7 @@ System.out.println("Analyzing function");
			if(t.getType() == null) addToOutput(output, "ModulePar_automatic_type");
		}
		for(VarInstance t : EcoreUtil2.getAllContentsOfType(module, VarInstance.class)) {
			if(t.getListType() == null) addToOutput(output, "VarInstance_list_automatic_type");
			if(t.getType() == null) addToOutput(output, "VarInstance_automatic_type");
			if(t.getListType() == null && t.getType() == null) addToOutput(output, "VarInstance_automatic_type");
		}
	}