Explorar el Código

Resolved problem with cell inheritance when CellsAreObjects is not specified.

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@6570 8c9fc860-2736-0410-a75d-ab315db34111
felixf hace 9 años
padre
commit
3652015eb1
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      source/FoxSemanticChecker.Mod

+ 3 - 1
source/FoxSemanticChecker.Mod

@@ -1068,6 +1068,8 @@ TYPE
 					ELSE
 						x.SetBaseType(ResolveType(x.baseType));
 					END;
+				ELSE
+					x.SetBaseType(ResolveType(x.baseType));
 				END;
 				
 				IF recordBase = NIL THEN numberMethods := 0
@@ -8114,7 +8116,7 @@ TYPE
 			VAR baseType: SyntaxTree.Type; property, prop: SyntaxTree.Property; variable: SyntaxTree.Variable;
 			BEGIN
 				IF type.baseType # NIL THEN 
-					baseType := type.baseType.resolved; 
+					baseType := type.baseType.resolved;
 					IF baseType IS SyntaxTree.PointerType THEN
 						baseType := baseType(SyntaxTree.PointerType).pointerBase.resolved;
 					END;