Skip to content

fix: create well-spanned syntax on verso blocks#700

Merged
ejgallego merged 1 commit intoleanprover:mainfrom
ejgallego:fix_doc_syntax_setup
Feb 5, 2026
Merged

fix: create well-spanned syntax on verso blocks#700
ejgallego merged 1 commit intoleanprover:mainfrom
ejgallego:fix_doc_syntax_setup

Conversation

@ejgallego
Copy link
Contributor

@ejgallego ejgallego commented Jan 13, 2026

We did push genre and title to the last block syntax, but this
broke the infotree span invariant, causing problems when retrieving
the goals.

Co-authored-by: David Thrane Christiansen david@lean-fro.org

@ejgallego ejgallego force-pushed the fix_doc_syntax_setup branch from c90d0cc to 9e3f79d Compare January 15, 2026 16:39
ejgallego added a commit to ejgallego/verso that referenced this pull request Jan 22, 2026
This avoids spurious infoview display of the internal elaborated
constant type.

This bug is only observable after applying the fix in leanprover#700 ; will wait
for leanprover#700 and leanprover#699 to merge this so we can properly provide a test.

Co-authored-by: David Thrane Christiansen <david@lean-fro.org>
@ejgallego ejgallego force-pushed the fix_doc_syntax_setup branch 2 times, most recently from a5b5ab0 to 58a1f8c Compare January 28, 2026 22:07
ejgallego added a commit to ejgallego/verso that referenced this pull request Jan 29, 2026
This avoids spurious infoview display of the internal elaborated
constant type.

This bug is only observable after applying the fix in leanprover#700 ; will wait
for leanprover#700 and leanprover#699 to merge this so we can properly provide a test.

Co-authored-by: David Thrane Christiansen <david@lean-fro.org>
@ejgallego ejgallego force-pushed the fix_doc_syntax_setup branch from 58a1f8c to 127e30a Compare February 3, 2026 18:02
@ejgallego ejgallego marked this pull request as ready for review February 3, 2026 18:02
ejgallego added a commit to ejgallego/verso that referenced this pull request Feb 3, 2026
This avoids spurious infoview display of the internal elaborated
constant type.

This bug is only observable after applying the fix in leanprover#700 ; will wait
for leanprover#700 and leanprover#699 to merge this so we can properly provide a test.

Co-authored-by: David Thrane Christiansen <david@lean-fro.org>
@david-christiansen
Copy link
Collaborator

Looks like we'll need to do a bit more to make this work for PRs from forks. We can save an artifact and then run a pull_request_target workflow that will have secrets access.

@david-christiansen
Copy link
Collaborator

I took the liberty of merging main to unstick CI here.

We did push `genre` and `title` to the last block syntax, but this
broke the infotree span invariant, causing problems when retrieving
the goals.

Co-authored-by: David Thrane Christiansen <david@lean-fro.org>
@ejgallego ejgallego force-pushed the fix_doc_syntax_setup branch from 6743e67 to e5b712c Compare February 5, 2026 11:40
@ejgallego
Copy link
Contributor Author

I took the liberty of merging main to unstick CI here.

Thanks David!

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

Preview for this PR is ready! 🎉

@ejgallego
Copy link
Contributor Author

[Assuming this is ready as we wrote the code together, will merge today unless more feedback is raised]

ejgallego added a commit to ejgallego/verso that referenced this pull request Feb 5, 2026
This avoids spurious infoview display of the internal elaborated
constant type.

This bug is only observable after applying the fix in leanprover#700 ; will wait
for leanprover#700 and leanprover#699 to merge this so we can properly provide a test.

Co-authored-by: David Thrane Christiansen <david@lean-fro.org>
@david-christiansen
Copy link
Collaborator

Please merge as soon as you feel ready!

@ejgallego ejgallego added this pull request to the merge queue Feb 5, 2026
Merged via the queue into leanprover:main with commit 53ce215 Feb 5, 2026
9 checks passed
@ejgallego ejgallego deleted the fix_doc_syntax_setup branch February 5, 2026 13:38
ejgallego added a commit to ejgallego/verso that referenced this pull request Feb 5, 2026
This avoids spurious infoview display of the internal elaborated
constant type.

This bug is only observable after applying the fix in leanprover#700 ; will wait
for leanprover#700 and leanprover#699 to merge this so we can properly provide a test.

Co-authored-by: David Thrane Christiansen <david@lean-fro.org>
ejgallego added a commit to ejgallego/verso that referenced this pull request Feb 6, 2026
This avoids spurious infoview display of the internal elaborated
constant type.

This bug is only observable after applying the fix in leanprover#700 ; will wait
for leanprover#700 and leanprover#699 to merge this so we can properly provide a test.

Co-authored-by: David Thrane Christiansen <david@lean-fro.org>
github-merge-queue bot pushed a commit that referenced this pull request Feb 6, 2026
…#707)

This avoids spurious infoview display of the internal elaborated
constant type.

This bug is only observable after applying the fix in #700 ; will wait
for #700 and #699 to merge this so we can properly provide a test.

Co-authored-by: David Thrane Christiansen <david@lean-fro.org>

---------

Co-authored-by: David Thrane Christiansen <david@lean-fro.org>
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.

2 participants