From 4e6710584a1236c425b09e35c6740d138ffb43df Mon Sep 17 00:00:00 2001 From: Ponylang Main Bot Date: Tue, 30 Apr 2024 18:21:06 +0000 Subject: [PATCH] Updates release notes for PR #4506 --- .release-notes/4506.md | 15 --------------- .release-notes/next-release.md | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 15 deletions(-) delete mode 100644 .release-notes/4506.md diff --git a/.release-notes/4506.md b/.release-notes/4506.md deleted file mode 100644 index d3218dbc61..0000000000 --- a/.release-notes/4506.md +++ /dev/null @@ -1,15 +0,0 @@ -## 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 -``` diff --git a/.release-notes/next-release.md b/.release-notes/next-release.md index ec38a36c93..bfa13d575e 100644 --- a/.release-notes/next-release.md +++ b/.release-notes/next-release.md @@ -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 +``` +