Warning with elixir 1.18
- Dominant language
- Elixir
- Stars
- 1.2k
- Forks
- 261
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 13
Description
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/
```
Contributor guide
Research direction
Start with lib/faker.ex:109 and lib/faker/address.ex:188, the locations named in the Elixir 1.18 warning. Reproduce the warning with the reported OTP and Elixir versions, then run the existing test suite to verify the warning is gone without changing Faker behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100