Răsfoiți Sursa

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 9 ani în urmă
părinte
comite
8bba99d8b1
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  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);