You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I don't think that'll be enough (tried it locally) because there's a few new defaults for 27 that break compilation. You can go the "ignore all warnings" route by tweaking rebar3 but you might be missing a good opportunity to update as-it-should. This is being discussed in ErlEF's Slack channel #build-and-packaging, fyi.
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
else
to'else'
and adding themaybe
keyword would be enough.The text was updated successfully, but these errors were encountered: