gleam-lang/gleam

Qualify or import generated variants

Fechada

#5.735 aberto em 19 de mai. de 2026

 (2 comentários) (0 reação) (0 responsável)Rust (960 forks)batch import
help wanted

Métricas do repositório

Stars
 (21.417 estrelas)
Métricas de merge de PR
 (Mesclagem média 10d 19h) (69 fundiu PRs em 30d)

Description

When you use the generate variant LS action for a type that lives in another module:

Event(..) -> [PlaceIn(SmokedPile)]
// Use generate variant here ^

If PlaceIn is in another module, the variant is generated correctly but it's not imported by the currrent module, so you need to manually import it.

Guia do colaborador