Skip to content

Commit

Permalink
Updates release notes for PR #4506
Browse files Browse the repository at this point in the history
  • Loading branch information
ponylang-main committed Apr 30, 2024
1 parent b949388 commit 4e67105
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .release-notes/4506.md

This file was deleted.

16 changes: 16 additions & 0 deletions .release-notes/next-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,19 @@ You can opt into using the Ubuntu binaries when using ponyup by running:
ponyup default ubuntu24.04
```

## Fix generation of invalid LLVM IR

Previously, this code failed at LLVM module verification. Now, with this change, it's fixed by stopping the generation of `ret` instructions after terminator instructions:

```pony
class Foo
new create(a: U32) ? =>
error
actor Main
new create(env: Env) =>
try
let f = Foo(1)?
end
```

0 comments on commit 4e67105

Please sign in to comment.