Skip to content

Commit 4643be3

Browse files
committed
v1.0.0
1 parent 45cddb4 commit 4643be3

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
## v1.0.0 - 2025-06-12
44

5-
- The `send_abnormal_exit` function in the `gleam/erlang` module now takes the
6-
reason as a string.
75
- The `gleam/erlang/node` module gains the `name` function.
86
- `process.receive` will now panic if given a non-named subject that is not
97
owned by the current process.

src/gleam/erlang/process.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ pub fn send_exit(to pid: Pid) -> Nil {
808808
///
809809
/// [1]: http://erlang.org/doc/man/erlang.html#exit-2
810810
///
811-
pub fn send_abnormal_exit(pid: Pid, reason: String) -> Nil {
811+
pub fn send_abnormal_exit(pid: Pid, reason: anything) -> Nil {
812812
erlang_send_exit(pid, reason)
813813
Nil
814814
}

0 commit comments

Comments
 (0)