Skip to content

Fix parser diagnostics - #100

Merged
GrahamCampbell merged 1 commit into
masterfrom
pr2-clean-parser-diagnostics
Jun 10, 2026
Merged

GrahamCampbell merged 1 commit into
masterfrom
pr2-clean-parser-diagnostics

Conversation

@GrahamCampbell

Copy link
Copy Markdown
Collaborator

This fixes several parser and function diagnostics that were previously masked by the compliance harness. Syntax errors now tolerate missing token metadata, unknown and literal tokens in led position stop without PHP warnings, non-field function call syntax fails during parsing, and map() requires an array second argument instead of iterating null. These changes make invalid expressions report the intended library exceptions without relying on PHP warnings.

@GrahamCampbell
GrahamCampbell merged commit 981d76d into master Jun 10, 2026
32 checks passed
@GrahamCampbell
GrahamCampbell deleted the pr2-clean-parser-diagnostics branch June 10, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant