Răsfoiți Sursa

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

Brucey 4 ani în urmă
părinte
comite
52cfdb4cf5
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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