ソースを参照

Fixed [] not available for structs. Fixes #543.

Brucey 4 年 前
コミット
52cfdb4cf5
1 ファイル変更1 行追加1 行削除
  1. 1 1
      expr.bmx

+ 1 - 1
expr.bmx

@@ -2272,7 +2272,7 @@ Type TIndexExpr Extends TExpr
 		Next
 		
 		' operator overload?
-		If TObjectType(expr.exprType) And Not TObjectType(expr.exprType).classDecl.IsStruct() Then
+		If TObjectType(expr.exprType) Then
 			Local args:TExpr[]
 			Local op:String
 			If set Then