Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,26 @@

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

- The [interference-based pruning](https://gleam.run/news/formalising-external-apis/#Improved-bit-array-exhaustiveness-checking)
from 1.13 has been extended to int segments!
Aside from the various performance improvements, this allows the compiler to
mark more branches as unreachable.
```gleam
case bits {
<<"a">> -> 0
<<97>> -> 1
// ^- This branch is unreachable because it's equal to "a".

<<0b1:1, _:1>> -> 2
<<0b11:2>> -> 3
// ^- This branch is unreachable because the branch before it already covers it.

_ -> 99
}
```
([fruno](https://github.com/fruno-bulax/))
>>>>>>> 956f7802d (📝 Update changelog)

### Build tool

- The help text displayed by `gleam dev --help`, `gleam test --help`, and
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion compiler-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ radix_trie = "0.2.1"
# Ensuring recursive type-checking doesn't stack overflow
stacker = "0.1.21"
# Manipulating bit arrays
bitvec = "1"
bitvec = { version = "1", features = ["serde"] }

async-trait.workspace = true
base16.workspace = true
Expand Down
Loading
Loading