Bläddra i källkod

Fixed missing copy of array static info.

Brucey 5 år sedan
förälder
incheckning
56366f6515
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      type.bmx

+ 1 - 1
type.bmx

@@ -1445,7 +1445,7 @@ Type TArrayType Extends TType
 	
 	Method Semant:TType(option:Int = False, callback:TCallback = Null)
 		Local ty:TType=elemType.Semant(option, callback)
-		If ty<>elemType Return New TArrayType.Create( ty, dims, _flags )
+		If ty<>elemType Return New TArrayType.Create( ty, dims, _flags, isStatic, Int(length) )
 		Return Self
 	End Method