Explorar o código

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

Brucey %!s(int64=4) %!d(string=hai) anos
pai
achega
52cfdb4cf5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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