Skip to content

Update treelist (ascend API) for 1.12#665

Merged
timholy merged 1 commit intomasterfrom
teh/ascend_fixes
Sep 2, 2025
Merged

Update treelist (ascend API) for 1.12#665
timholy merged 1 commit intomasterfrom
teh/ascend_fixes

Conversation

@timholy
Copy link
Member

@timholy timholy commented Aug 30, 2025

PR #654 restricted the types allowed to get "through" treelist!. While that got the Cthulhu tests working, it broke the intent of the extension API (which is used by SnoopCompile, ProfileView, and perhaps others). This restores the original treelist! implementation, making changes elsewhere to compensate for the changes in the types of objects that Julia now uses.

@serenity4, are these changes OK, or might this break something else?

Note I made a couple of changes to the tests themselves, to allow despecialized or specialized variants of the same calls. This appears to be necessary to get nightly to pass (even on Cthulhu#master).

This, together with SnoopCompile#teh/cthulhu, is almost enough to get the SnoopCompile extension test working. However, we still need a resolution to #619 (comment) (it works if I delete the [extensions] section of Cthulhu's Project.toml).

PR #654 restricted the types allowed to get "through" `treelist!`. While
that got the Cthulhu tests working, it broke the intent of the extension
API. This restores the original implementation, making changes elsewhere
to compensate for the changes in the types of objects that Julia now
uses.
Copy link
Collaborator

@serenity4 serenity4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks very reasonable to me!

@timholy timholy merged commit 1f28db1 into master Sep 2, 2025
4 of 7 checks passed
@timholy timholy deleted the teh/ascend_fixes branch September 2, 2025 17:15
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

Comments