Feedback
Compiler allows calling Array.LastIndex property as a method
- Status
- Fixed
- Fixed in
- v26.6.1
- Source discussion
- https://forum.objo.dev/d/247-analyse-projet-skip-the-error
- Last updated
- 2026-06-03
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Calling the Array.LastIndex property with parentheses, for example items.LastIndex(), passes objo check but fails when the app runs. The compiler should reject the call and report that LastIndex is a property, not a method.