Feedback
Fix Asc and CriticalSection errors, Task.FromResult typing and Shell timeouts
- Status
- Fixed
- Fixed in
- v26.10.3
- Area
- compiler
- Source discussion
- -
- Last updated
- 2026-10-20
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Correct four problems affecting error handling, typed task creation and timeout reporting:
- Calling
Asc()with an incomplete UTF-16 surrogate can stop execution even insideTry/Catch. Invalid input should raise a catchable Objo exception. - The documented
Task.FromResult("hello")example cannot be assigned toTask(Of String). The factory should preserve the result's compile-time type. - Calling
CriticalSection.Leave()without a matching successful acquisition can stop execution instead of raising a catchable Objo exception. - After
Shell.Execute()times out,TimedOutincorrectly remainsFalse. It should beTrue, including when inspected inside theShellExceptionhandler.