2
0
Эх сурвалжийг харах

Fixed missing copy of array static info.

Brucey 5 жил өмнө
parent
commit
56366f6515
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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