Feedback
MemoryBlock global indexing fails through fused opcode
- Status
- Fixed
- Fixed in
- v26.6.6
- Source discussion
- https://forum.objo.dev/d/430-misleading-error-message-and-docs-suggestion-for-enumerations
- Last updated
- 2026-06-25
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Global MemoryBlock values indexed with a local variable or function parameter can raise TypeMismatchException: Only arrays and dictionaries support indexing. even though MemoryBlock supports indexed byte access. The same code should return the byte value, and comparisons against enum-backed integer values should not change indexability.