Repository navigation
Replace Default impls for AstNode with new placeholder method - #7897
Merged
Merged
Conversation
isuffix
commented
Feb 19, 2026
isuffix
force-pushed
the
astnode-placeholder
branch
3 times, most recently
from
February 26, 2026 21:28
2fad3e9 to
48e1d86
Compare
isuffix
commented
Feb 26, 2026
laurmaedje
reviewed
Mar 2, 2026
isuffix
force-pushed
the
astnode-placeholder
branch
3 times, most recently
from
March 3, 2026 20:55
b55b0ae to
a154893
Compare
Collaborator
Author
|
I've rebased off main, updated the comments, and used |
isuffix
force-pushed
the
astnode-placeholder
branch
from
March 4, 2026 04:29
a154893 to
c6c72ab
Compare
Merged
Member
|
Thanks! |
jassielof
pushed a commit
to jassielof/typst
that referenced
this pull request
Apr 7, 2026
ParaN3xus
added a commit
to ParaN3xus/tinymist
that referenced
this pull request
May 15, 2026
ParaN3xus
added a commit
to ParaN3xus/tinymist
that referenced
this pull request
May 15, 2026
ParaN3xus
added a commit
to ParaN3xus/tinymist
that referenced
this pull request
May 24, 2026
ParaN3xus
added a commit
to ParaN3xus/tinymist
that referenced
this pull request
May 24, 2026
ParaN3xus
added a commit
to ParaN3xus/tinymist
that referenced
this pull request
Jun 1, 2026
ParaN3xus
added a commit
to ParaN3xus/tinymist
that referenced
this pull request
Jun 1, 2026
Myriad-Dreamin
pushed a commit
to Myriad-Dreamin/tinymist
that referenced
this pull request
Jun 13, 2026
Myriad-Dreamin
pushed a commit
to Myriad-Dreamin/tinymist
that referenced
this pull request
Jun 13, 2026
Myriad-Dreamin
pushed a commit
to Myriad-Dreamin/tinymist
that referenced
this pull request
Jun 13, 2026
Myriad-Dreamin
pushed a commit
to Myriad-Dreamin/tinymist
that referenced
this pull request
Jun 13, 2026
Myriad-Dreamin
pushed a commit
to Myriad-Dreamin/tinymist
that referenced
this pull request
Jun 13, 2026
Myriad-Dreamin
pushed a commit
to Myriad-Dreamin/tinymist
that referenced
this pull request
Jun 13, 2026
Myriad-Dreamin
added a commit
to Myriad-Dreamin/tinymist
that referenced
this pull request
Jun 15, 2026
This PR is part of the Typst 0.15 nightly cleanup stack. It sits on top of the path-model group and keeps this slice focused on analyzer, query, debug, lint, eval, and typlite API adaptation. ## Upstream Typst Changes - [`typst/typst#7542`](typst/typst#7542) changes function internals. Tinymist updates signature, definition, hover, and rename paths that inspect function internals. - [`typst/typst#7543`](typst/typst#7543) moves call sites toward `to_element`-style element handling. Tinymist updates field access, completion kind inference, and syntax type checking accordingly. - [`typst/typst#7808`](typst/typst#7808) changes parameter metadata. Tinymist updates signature help, built-in type metadata, scope completion, and type completion to the new parameter representation. - [`typst/typst#8215`](typst/typst#8215) requests the standard library from `World` once upfront. Tinymist updates tracked values, upstream helpers, global analysis, DAP request evaluation, and eval engine construction to use the preloaded library path. - [`typst/typst#7865`](typst/typst#7865), [`typst/typst#8116`](typst/typst#8116), and `typst/typst@5326cd297` adjust math call, math field, and prime syntax. Tinymist updates syntax matchers, coverage instrumentation, debugger instrumentation, lint behavior, expression parsing, and query fixtures. - [`typst/typst#7490`](typst/typst#7490) and `typst/typst@cfdd4238b` change font metadata APIs. Tinymist updates document metrics and symbol glyph handling. - `typst/typst@0f04fd176` changes diagnostic hints into spanned values. Tinymist updates diagnostic hint rendering. - [`typst/typst#7897`](typst/typst#7897) introduces import item placeholders and related attach/text API changes. Tinymist updates import completions and math text/attach matching. - Typst 0.15 makes `typst::ROUTINES` private, adds the library argument to `typst_eval::eval`, and protects engine introspection. Tinymist updates `typst-shim` eval for both nightly and default feature builds. ## Tinymist Changes - Ports analysis and query code to the updated function, element, parameter, font, and math syntax APIs. - Updates debug coverage and debugger instrumentation for the new math call/field syntax shapes. - Updates lint behavior so function-call and math-call handling stay aligned. - Updates DAP and `crityp` to the preloaded engine library path. - Updates `typst-shim` eval and syntax compatibility modules so both `nightly` and default feature builds compile against the current Typst 0.15 dependency set. - Refreshes targeted query and typlite fixtures affected by these API and syntax behavior changes. --------- Co-authored-by: paran3xus <[email protected]>
Myriad-Dreamin
added a commit
to Myriad-Dreamin/tinymist
that referenced
this pull request
Jun 15, 2026
This PR is part of the Typst 0.15 nightly cleanup stack. It sits on top of the path-model group and keeps this slice focused on analyzer, query, debug, lint, eval, and typlite API adaptation. - [`typst/typst#7542`](typst/typst#7542) changes function internals. Tinymist updates signature, definition, hover, and rename paths that inspect function internals. - [`typst/typst#7543`](typst/typst#7543) moves call sites toward `to_element`-style element handling. Tinymist updates field access, completion kind inference, and syntax type checking accordingly. - [`typst/typst#7808`](typst/typst#7808) changes parameter metadata. Tinymist updates signature help, built-in type metadata, scope completion, and type completion to the new parameter representation. - [`typst/typst#8215`](typst/typst#8215) requests the standard library from `World` once upfront. Tinymist updates tracked values, upstream helpers, global analysis, DAP request evaluation, and eval engine construction to use the preloaded library path. - [`typst/typst#7865`](typst/typst#7865), [`typst/typst#8116`](typst/typst#8116), and `typst/typst@5326cd297` adjust math call, math field, and prime syntax. Tinymist updates syntax matchers, coverage instrumentation, debugger instrumentation, lint behavior, expression parsing, and query fixtures. - [`typst/typst#7490`](typst/typst#7490) and `typst/typst@cfdd4238b` change font metadata APIs. Tinymist updates document metrics and symbol glyph handling. - `typst/typst@0f04fd176` changes diagnostic hints into spanned values. Tinymist updates diagnostic hint rendering. - [`typst/typst#7897`](typst/typst#7897) introduces import item placeholders and related attach/text API changes. Tinymist updates import completions and math text/attach matching. - Typst 0.15 makes `typst::ROUTINES` private, adds the library argument to `typst_eval::eval`, and protects engine introspection. Tinymist updates `typst-shim` eval for both nightly and default feature builds. - Ports analysis and query code to the updated function, element, parameter, font, and math syntax APIs. - Updates debug coverage and debugger instrumentation for the new math call/field syntax shapes. - Updates lint behavior so function-call and math-call handling stay aligned. - Updates DAP and `crityp` to the preloaded engine library path. - Updates `typst-shim` eval and syntax compatibility modules so both `nightly` and default feature builds compile against the current Typst 0.15 dependency set. - Refreshes targeted query and typlite fixtures affected by these API and syntax behavior changes. --------- Co-authored-by: paran3xus <[email protected]>
Myriad-Dreamin
added a commit
to Myriad-Dreamin/tinymist
that referenced
this pull request
Jun 15, 2026
This PR is part of the Typst 0.15 nightly cleanup stack. It sits on top of the path-model group and keeps this slice focused on analyzer, query, debug, lint, eval, and typlite API adaptation. - [`typst/typst#7542`](typst/typst#7542) changes function internals. Tinymist updates signature, definition, hover, and rename paths that inspect function internals. - [`typst/typst#7543`](typst/typst#7543) moves call sites toward `to_element`-style element handling. Tinymist updates field access, completion kind inference, and syntax type checking accordingly. - [`typst/typst#7808`](typst/typst#7808) changes parameter metadata. Tinymist updates signature help, built-in type metadata, scope completion, and type completion to the new parameter representation. - [`typst/typst#8215`](typst/typst#8215) requests the standard library from `World` once upfront. Tinymist updates tracked values, upstream helpers, global analysis, DAP request evaluation, and eval engine construction to use the preloaded library path. - [`typst/typst#7865`](typst/typst#7865), [`typst/typst#8116`](typst/typst#8116), and `typst/typst@5326cd297` adjust math call, math field, and prime syntax. Tinymist updates syntax matchers, coverage instrumentation, debugger instrumentation, lint behavior, expression parsing, and query fixtures. - [`typst/typst#7490`](typst/typst#7490) and `typst/typst@cfdd4238b` change font metadata APIs. Tinymist updates document metrics and symbol glyph handling. - `typst/typst@0f04fd176` changes diagnostic hints into spanned values. Tinymist updates diagnostic hint rendering. - [`typst/typst#7897`](typst/typst#7897) introduces import item placeholders and related attach/text API changes. Tinymist updates import completions and math text/attach matching. - Typst 0.15 makes `typst::ROUTINES` private, adds the library argument to `typst_eval::eval`, and protects engine introspection. Tinymist updates `typst-shim` eval for both nightly and default feature builds. - Ports analysis and query code to the updated function, element, parameter, font, and math syntax APIs. - Updates debug coverage and debugger instrumentation for the new math call/field syntax shapes. - Updates lint behavior so function-call and math-call handling stay aligned. - Updates DAP and `crityp` to the preloaded engine library path. - Updates `typst-shim` eval and syntax compatibility modules so both `nightly` and default feature builds compile against the current Typst 0.15 dependency set. - Refreshes targeted query and typlite fixtures affected by these API and syntax behavior changes. --------- Co-authored-by: paran3xus <[email protected]>
Dikluwe
pushed a commit
to Dikluwe/typst-crystalline
that referenced
this pull request
Sep 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a new
placeholdermethod to theAstNodetrait that formalizes the previously implicit guarantee that AST nodes would not panic if constructed incorrectly.