$defined(x[0] = val) causes an error instead of returning false when a type does not have []= defined #2454

This commit is contained in:
Christoffer Lerno
2025-09-03 00:08:43 +02:00
parent 14a929588a
commit e25812a071
3 changed files with 28 additions and 14 deletions

View File

@@ -7,6 +7,7 @@
### Fixes
- Compiler assert with var x @noinit = 0 #2452
- Confusing error message when type has [] overloaded but not []= #2453
- $defined(x[0] = val) causes an error instead of returning false when a type does not have []= defined #2454
### Stdlib changes