Feedback
Show a clear diagnostic for missing '=' in variable declarations
- Status
- Fixed
- Fixed in
- v26.11.3
- Area
- compiler
- Source discussion
- https://forum.objo.dev/d/1515-diagnostic-regression
- Last updated
- 2026-11-08
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
A variable declaration with an initial value but no =, such as Var s As String "hello", reports "Expected end of line." This does not explain how to correct the declaration.
Report a clear diagnostic identifying the missing = before the initial value, with a location that points to the unexpected value. The corrected declaration is Var s As String = "hello".