Skip to content

Semantic core 3/7: positions, member index, expression typer, flow, rename safety - #531

Closed
blacktrs wants to merge 68 commits into
mainfrom
stack-3-semantic-positions
Closed

blacktrs wants to merge 68 commits into
mainfrom
stack-3-semantic-positions

Conversation

@blacktrs

Copy link
Copy Markdown
Contributor

Part 3 of the LSP stack. Base: stack-2-semantic-tolerant.

  • LineIndex and ExprAt position lookup; member records with owner, visibility and memoized lookup.
  • Source-type expression typer with flow-sensitive narrowing and closure scopes.
  • Member use sites resolve through receiver types; override families make rename safe; VarIndex adds variable bindings.
  • Carries two compiler fixes merged from their own branches: array element compare by buffer hint, fused array_map result type (array_unique() over the result of array_map() with a closure segfaults #512).

Gates owed: AOT suite, Linux.

…ted properties, named arguments, required heredoc text
…ty sites; definitionsOf for unions; hide anonymous class names in hover
…kip the PCRE backtrack-limit probe where unsupported
@blacktrs
blacktrs force-pushed the stack-3-semantic-positions branch from 95afe5e to ae226ed Compare November 10, 2026 07:54
# Conflicts:
#	src/Analyze/Analyzer.php
#	src/Manticore/Main.php
#	tools/audit/calibrate.sh
#	tools/docker/gate.sh
…lib:false semtest app passes the embed check
…ain reference, drop the legacy-interpolation site

(cherry picked from commit 5052d09)
Base automatically changed from stack-2-semantic-tolerant to main November 15, 2026 07:55
@blacktrs

Copy link
Copy Markdown
Contributor Author

Included in #522, which is squash-merged into main as one commit (rest of the LSP stack).

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