Skip to content

Update to work with ponyc 0.75.0 - #491

Merged
SeanTAllen merged 1 commit into
mainfrom
fix-clone-iso-return
Oct 4, 2026
Merged

SeanTAllen merged 1 commit into
mainfrom
fix-clone-iso-return

Conversation

@SeanTAllen

Copy link
Copy Markdown
Member

ponyc PR #6237 changed Array.clone() to return iso^ when the element type is val. The clone in from_fragments is used as ref — it gets iterated and sized — so it needs an explicit type annotation.

@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Oct 4, 2026
@SeanTAllen
SeanTAllen force-pushed the fix-clone-iso-return branch from bc93217 to 894d247 Compare October 4, 2026 00:38
@SeanTAllen SeanTAllen changed the title Update to work with ponyc 0.74.0 Update to work with ponyc 0.75.0 Oct 4, 2026
Array.clone() now returns iso^ when the element type is val.
The clone result here is used as ref, so it needs an explicit
type annotation.
@SeanTAllen
SeanTAllen force-pushed the fix-clone-iso-return branch from 894d247 to d5b938c Compare October 4, 2026 00:41
@SeanTAllen
SeanTAllen merged commit a1df685 into main Oct 4, 2026
14 checks passed
@SeanTAllen
SeanTAllen deleted the fix-clone-iso-return branch October 4, 2026 00:48
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Oct 4, 2026
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