Skip to content

Commit

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

This file was deleted.

17 changes: 17 additions & 0 deletions .release-notes/next-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## Fix compiler crash

Previously the following code would cause the compiler to crash. Now it will display a helpful error message:

```pony
struct FFIBytes
var ptr: Pointer[U8 val] = Pointer[U8].create()
var length: USize = 0
fun iso string(): String val =>
recover String.from_cpointer(consume FFIBytes.ptr, consume FFIBytes.length) end
actor Main
new create(env: Env) =>
env.out.print("nothing to see here")
```

0 comments on commit cb2f814

Please sign in to comment.