Given this code:
pub type Record {
Record(Int)
}
pub fn main() {
Nil
}
You get this warning when running the program:
$ gleam run
/app/_gleam_artefacts/app.erl:6:2: Warning: local redefinition of built-in type: record()
% 6| -type record() :: {record, integer()}.
% | ^
Compiled in 0.22s
Running app.main
Gleam v1.18.1
Given this code:
You get this warning when running the program:
Gleam v1.18.1