浏览代码

Fixed missing copy of array static info.

Brucey 5 年之前
父节点
当前提交
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