indent: fails for catch with guards
-record(record_exception, {reason}).
f() ->
try
a,
b
catch
throw:Exeption when is_record(Exeption, record_exception) ->
#record_exception {reason = Reason} = Exeption,
Reason,
end,
X.
f() ->
try
a,
b
catch
throw:Exeption when is_record(Exeption, record_exception) ->
#record_exception {reason = Reason} = Exeption,
Reason,
end,
X.
Leave a comment
on 2013-03-11 08:27 *
By Vlad Dumitrescu
Status changed from Test to Fixed
Status changed from Test to Fixed