Browse Source

Only untraced variables in reflection (otherwise assignment in unsafe memory regions can trap)

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@8015 8c9fc860-2736-0410-a75d-ab315db34111
felixf 7 years ago
parent
commit
a5b527e77c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/Reflection.Mod

+ 1 - 1
source/Reflection.Mod

@@ -513,7 +513,7 @@ CONST
 		END;
 
 		UnsafeArray= POINTER {UNSAFE} TO RECORD
-			ptr: ANY;
+			ptr {UNTRACED}: ANY;
 			adr: ADDRESS;
 			flags: SET;
 			dim: SIZE;