bonfire-networks / bonfire-app

Bonfire - tend to your digital life in community. Customise and host your own online space and control your experience at the most granular level.
https://bonfirenetworks.org
GNU Affero General Public License v3.0
522 stars 37 forks source link

Bug: Arrows does not work with Elixir 1.17 / OTP 27 #925

Closed mayel closed 1 month ago

mayel commented 1 month ago

with latest versions: https://github.com/bonfire-networks/bonfire-app/tree/next-elixir-OTP

this code:

use Arrows

        img
        |> Phx.Live.Favicon.set_dynamic(socket, "svg", ...)

results in


     error: undefined function .../0 (expected Iconify to define such a function or for it to be imported, but none are available)
     │
 909 │         |> Phx.Live.Favicon.set_dynamic(socket, "svg", ...)
     │                                                        ^^^
     │
     └─ (iconify_ex 0.4.4) lib/iconify.ex:909:56: Iconify.maybe_set_favicon_emoji/2
mayel commented 1 month ago

Possibly related to this in Elixir 1.17 changelog: [Kernel] Resolve inconsistencies of how .. and ... are handled at the AST level

mayel commented 1 month ago

Fixed in arrows 0.2