Closed
Description
Hi! was compiling phx_2_ban
when this happened:
== Compilation error in file lib/phx_2_ban/rules/python.ex ==
** (ArgumentError) cannot inject attribute @regex_patterns into function/macro because cannot escape #Reference<0.3849436586.1497235463.120178>. The supported values are: lists, tuples, maps, atoms, numbers, bitstrings, PIDs and remote functions in the format &Mod.fun/arity
(elixir 1.18.4) lib/kernel.ex:3777: Kernel.do_at_escape/2
(elixir 1.18.4) expanding macro: Kernel.@/1
lib/phx_2_ban/rules/python.ex:30: Phx2Ban.Rules.Python.valid_request?/1
I have no idea how to fix this, but the current setup is:
- Elixir 1.18 (asdf)
- Erlang 27.3 (asdf)
- osx 15.3
My workaround here is to downgrade from v1.18 to v1.17. Not also sure if this is actually an issue tbh.
Metadata
Metadata
Assignees
Labels
No labels