gleam-lang/gleam
Voir sur GitHubRuntime crash on erlang when constructing bit arrays
Open
#4 271 ouverte le 20 févr. 2025
discussionhelp wanted
Métriques du dépôt
- Stars
- (21 417 stars)
- Métriques de merge PR
- (Merge moyen 10j 19h) (69 PRs mergées en 30 j)
Description
Currently, if you run the following code:
pub fn main() {
let size = 2
<<2.3:float-size(size)>>
}
The compiler will allow it, but when run, it produces an erlang Badarg error. This is probably not desired behaviour. I'm not sure if we consider this a breaking change, but since it never worked in the first place, I would lean no.