Explorar o código

allow forgotten SET type in AddProperty

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@6576 8c9fc860-2736-0410-a75d-ab315db34111
eth.morozova %!s(int64=9) %!d(string=hai) anos
pai
achega
8bba99d8b1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      source/FoxIntermediateBackend.Mod

+ 1 - 0
source/FoxIntermediateBackend.Mod

@@ -7083,6 +7083,7 @@ TYPE
 						OR (property.type.resolved IS SyntaxTree.IntegerType) 
 						OR (property.type.resolved IS SyntaxTree.FloatType)
 						OR (property.type.resolved IS SyntaxTree.BooleanType)
+						OR (property.type.resolved IS SyntaxTree.SetType)
 						);
 					left := SyntaxTree.NewSymbolDesignator(-1,left,cell); left.SetType(system.anyType);
 					left := SyntaxTree.NewDereferenceDesignator(-1, left); left.SetType(cellType);