Release v4.2.1
Two places where the editor and the compiler described different languages, both silent and both user visible (#86).
Fixed
- The editor reports the compiler's
PLAYcode for every condition it checks, so the same problem carries the same code whether it was found by the CLI or by a squiggle - lookup, suppression and log matching all work from one catalogue. A Monaco marker gets it ascode, a VS Code diagnostic asDiagnostic.code, anddiagnosticCodesnames them for a consumer. (#86) - A query whose return type is dotted is scanned as a query again. The editor matched
[\w[\]?]+where the compiler takes[\w.]+(?:\[\])?\??, so such a query registered no symbol at all - itsbyandfilterparameters went un-type-checked and it was missing fromdata … via querycompletions, with nothing reported. (#86)
Changed
ValidationIssuecarries an optionalcode. The structural checks the capture and projection validators make have no compiler counterpart and deliberately carry none - documented in diagnostics.md, under In the editor.