summaryrefslogtreecommitdiff
path: root/src/rebar_base_compiler.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-07-09 13:01:13 +0000
committerFred Hebert <mononcqc@ferd.ca>2015-07-09 13:04:45 +0000
commit05e22e4d5c831888450bfc15e88dc2882b837d6c (patch)
treebe79a1103492c1cdb7640ce596d2a73a56873fd9 /src/rebar_base_compiler.erl
parent9affae5c0003d0061114507195bffe2e13062fb9 (diff)
Fix reporting of error:undef exceptions
The wide-cast catching of undef errors would make it so any provider calling an undefined function would be reported as a missing 'do' for the provider. This patch inspects the stacktrace to know if `Provider:do/1` is indeed the missing callback, and reports the rest properly.
Diffstat (limited to 'src/rebar_base_compiler.erl')
0 files changed, 0 insertions, 0 deletions