Skip to content

Warning with elixir 1.18 #579

@epinault

Description

@epinault

I am on OTP 27.2, elixir 1.18.0 and I see this

warning: using map.field notation (without parentheses) to invoke function Faker.Random.Elixir.random_uniform() is deprecated, you must add parentheses instead: remote.function()
  (faker 0.18.0) lib/faker.ex:109: Faker.random_uniform/0
  (faker 0.18.0) lib/faker/address.ex:188: Faker.Address.latitude/0
  test/my_app/admin/location_test.exs:13: anonymous fn/2 in :elixir_compiler_3.__MODULE__/1
  (ex_unit 1.18.0) lib/ex_unit/callbacks.ex:787: ExUnit.Callbacks.__describe__/4
  test/my_app/admin/location_test.exs:8: (module)
  (elixir 1.18.0) src/elixir_compiler.erl:77: :elixir_compiler.dispatch/4
  (elixir 1.18.0) src/elixir_compiler.erl:52: :elixir_compiler.compile/4
  (elixir 1.18.0) src/elixir_module.erl:454: :elixir_module.eval_form/7
  (elixir 1.18.0) src/elixir_module.erl:156: :elixir_module.compile/7
  (elixir 1.18.0) src/elixir_compiler.erl:38: :elixir_compiler.maybe_fast_compile/2
  (elixir 1.18.0) src/elixir_lexical.erl:13: :elixir_lexical.run/3
  (elixir 1.18.0) src/elixir_compiler.erl:17: :elixir_compiler.quoted/3
  (elixir 1.18.0) lib/kernel/parallel_compiler.ex:562: Kernel.ParallelCompiler.require_file/2
  (elixir 1.18.0) lib/kernel/parallel_compiler.ex:445: anonymous fn/5 in Kernel.ParallelCompiler.spawn_workers/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions