Skip to content

Erlang/OTP 28.0 compile time warning #46

@inoas

Description

@inoas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions