Pārlūkot izejas kodu

Fixed fingerprinter for anonymous types. Will need new release.

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@7035 8c9fc860-2736-0410-a75d-ab315db34111
skoster 8 gadi atpakaļ
vecāks
revīzija
a874ec6c10
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      source/FoxFingerPrinter.Mod

+ 1 - 1
source/FoxFingerPrinter.Mod

@@ -449,7 +449,7 @@ TYPE
 					D.Str0(x.scope.ownerModule.name);
 				END;
 				typeDeclaration := x.typeDeclaration;
-				IF(typeDeclaration # NIL) & (typeDeclaration.access * SyntaxTree.Public # {}) THEN 
+				IF(typeDeclaration # NIL) & (typeDeclaration.access # SyntaxTree.Hidden) THEN 
 					FPName(fp,x.scope.ownerModule.name);
 					IF (typeDeclaration.declaredType.resolved # x) THEN
 						(* in record type: pointer to type declaration of a pointer *)