Skip to content

Commit 687a460

Browse files
fruno-bulaxlpil
authored andcommitted
📝 Update changelog
1 parent 1a4863c commit 687a460

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,18 @@
3434

3535
([Surya Rose](https://github.com/GearsDatapacks))
3636

37+
- When matching the wrong number of subjects, the compiler now pinpoints the
38+
error location instead of marking the entire branch.
39+
```
40+
case wibble {
41+
0, _ -> 1
42+
^^^^ Expected 1 patterns, got 2
43+
0 | -> 1
44+
^ I was expecting a pattern after this
45+
}
46+
```
47+
([fruno](https://github.com/fruno-bulax/))
48+
3749
- The performance of `==` and `!=` has been improved for single-variant custom
3850
types when compiling to JavaScript. This was done by generating comparison
3951
code specific to the custom type rather than using the generic equality check

0 commit comments

Comments
 (0)