Feedback
Using a method name as a value is now flagged at design time
- Status
- Fixed
- Fixed in
- v26.8.1
- Source discussion
- https://forum.objo.dev/d/744-sortwith-array-problem
- Last updated
- 2026-08-04
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Passing a bare method name where a callback is expected, for example tb.SortWith(myMethodSort) instead of tb.SortWith(AddressOf myMethodSort), previously compiled without any warning and only failed when the app ran. Objo now reports this at design time and suggests calling the method (myMethodSort()) or wrapping it with AddressOf.