devinus / poison

An incredibly fast, pure Elixir JSON library
BSD Zero Clause License
2.03k stars 218 forks source link

Deprecated syntax: `use Bitwise` #214

Closed wjlee2020 closed 4 months ago

wjlee2020 commented 1 year ago

When compiling Poison, you can see that there are two locations for this deprecated syntax. Fix to using: import Bitwise is recommended.

nathany-copia commented 5 months ago
    warning: use Bitwise is deprecated. import Bitwise instead
    │
 65 │   use Bitwise
    │   ~~~~~~~~~~~
    │
    └─ lib/poison/parser.ex:65: Poison.Parser (module)
     warning: use Bitwise is deprecated. import Bitwise instead
     │
 112 │   use Bitwise
     │   ~~~~~~~~~~~
     │
     └─ lib/poison/encoder.ex:112: Poison.Encoder.BitString (module)

in poison 5.0.0 and elixir 1.17