gleeunit icon indicating copy to clipboard operation
gleeunit copied to clipboard

Erlang/OTP 28.0 compile time warning

Open inoas opened this issue 8 months ago • 2 comments

on git commit 9e09b6f4a4212823bcce9fe7ce85d8654a269490 (head of main at the time of writing) of gleam_otp

❯ gleam clean
❯ gleam test
Downloading packages
 Downloaded 4 packages in 0.01s
  Compiling gleam_stdlib
  Compiling gleam_erlang
  Compiling gleeunit
/Volumes/Gleam/otp/build/dev/erlang/gleeunit/_gleam_artefacts/gleeunit_progress.erl:78:21: Warning: ambiguous call of overridden auto-imported BIF link/2 --
use erlang:link/2 or "-compile({no_auto_import,[link/2]})." to resolve name clash
%   78|             insTree(link(T1,T2),merge(TS1,TS2))
%     |                     ^

/Volumes/Gleam/otp/build/dev/erlang/gleeunit/_gleam_artefacts/gleeunit_progress.erl:132:21: Warning: ambiguous call of overridden auto-imported BIF link/2 --
use erlang:link/2 or "-compile({no_auto_import,[link/2]})." to resolve name clash
%  132|             insTree(link(T1,T2),Rest)
%     |                     ^

  Compiling logging
  Compiling gleam_otp
   Compiled in 0.38s
    Running gleam_otp_test.main
....................
Finished in 0.201 seconds
20 tests, 0 failures

inoas avatar May 24 '25 14:05 inoas

gleam test on gleam_erlang shows the same.

inoas avatar May 24 '25 14:05 inoas

Thank you

lpil avatar May 24 '25 15:05 lpil