Compiling Wrangler with OTP 27 results in the following error:
_build/default/lib/wrangler/src/wrangler_expand_rule.erl:7:2: Warning: export_all flag enabled - all functions will be exported
_build/default/lib/wrangler/src/wrangler_scan.erl:28:2: Warning: export_all flag enabled - all functions will be exported
===> Compiling _build/default/lib/wrangler/src/wrangler_epp_dodger.erl failed
_build/default/lib/wrangler/src/wrangler_epp_dodger.erl:310:34: syntax error before: 'else'
_build/default/lib/wrangler/src/wrangler_epp_dodger.erl:70:2: function scan_form/2 undefined
_build/default/lib/wrangler/src/wrangler_epp_dodger.erl:290:31: function scan_form/2 undefined
make: *** [Makefile:11: compile] Error 1
We suspect that it's related to the new maybe expression, which is on by default in OTP 27.
It's possible that changing else to 'else' and adding the maybe keyword would be enough.
Compiling Wrangler with OTP 27 results in the following error:
We suspect that it's related to the new maybe expression, which is on by default in OTP 27.
It's possible that changing
elseto'else'and adding themaybekeyword would be enough.