gleam-lang/gleam

Hex Gleam dependency packages with colliding Erlang modules can fail to raise a compile error

Offen

#4.657 geöffnet am 01.06.2025

 (2 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Rust (960 Forks)batch import
help wanted

Repository-Metriken

Stars
 (21.417 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

sngrekov made a project with both Nibble and Glerray and started getting runtime errors. Both projects define the glearray_ffi Erlang module, and instead of raising an error at build time (as we should) we seem to let one clobber the other and as such one of the two packages will have the incorrect code.

Context: https://discord.com/channels/768594524158427167/1378738738376474634

Related: https://github.com/hayleigh-dot-dev/nibble/issues/24

Contributor Guide