gleam-lang/gleam

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

開放

#4,657 建立於 2025年6月1日

 (2 則留言) (1 個反應) (0 位負責人)Rust (960 個分叉)batch import
help wanted

倉庫指標

星標
 (21,417 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南