Repository navigation
v0.2.4
What's Changed
Fixed
Diagnostics no longer crash the PhpStorm annotator
An EOF-anchored syntax error (unterminated comment, "unexpected EOF") could produce a diagnostic whose range ended one character past end-of-document, which strict LSP clients reject with Range must be inside element being annotated -- poisoning the diagnostics provider for the rest of the session. Every emitted diagnostic range is now clamped into the analyzed buffer (parser, undefined-name, and workspace diagnostics alike).
Added
Hover substitutes generic type parameters on property access
Hovering a property reached through a generic receiver now shows the concrete type instead of the raw declared type parameter. For example, hovering ->first on $nested->swap()->first (where $nested: Pair<Map<string, int>, Pair<Plastic, User>>) now shows public App\Pair<App\Plastic, App\User> $first instead of public A $first -- matching what hovering the assigned variable already showed.
Notes
serverInfo.versionnow reports0.2.4.- Both changes are server-side only; no client/plugin update required.
Full Changelog: v0.2.3...v0.2.4