Permalink
Browse files

Merge branch 'master' of github.com:thomasl/smart_exceptions

  • Loading branch information...
2 parents 6e8a9c3 + a841120 commit 663bc4417dac5a3f62535d6809796a154c630378 @thomasl committed Dec 5, 2010
Showing with 4 additions and 3 deletions.
  1. +4 −3 devel/src/smart_exceptions.erl
@@ -99,8 +99,7 @@ forms(M, Forms0) ->
Forms = simple_resolve_imports(Forms0),
[ form(M, Form) || Form <- Forms ].
-form(M, Form) ->
- {F, A} = function_name(Form),
+form(M, {function, F, A, _Clss} = Form) ->
mapform0(
fun({function, Lf, F1, A1, []}=Form0) ->
Form0;
@@ -146,7 +145,9 @@ form(M, Form) ->
E
end,
Form
- ).
+ );
+form(M, Form) ->
+ Form.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%

0 comments on commit 663bc44

Please sign in to comment.