diff options
author | Henrik Nord <[email protected]> | 2012-10-03 15:20:09 +0200 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2012-10-03 15:20:09 +0200 |
commit | 197b7b99b9e7e70046d51fa90b5922a1b22ee8cc (patch) | |
tree | 3b11293ba7a0ab2229b5b3b9da072be041f29c0f /lib/dialyzer/src/dialyzer_races.erl | |
parent | 54e7cc9086908a0e5642caa6ac3680557acc5a67 (diff) | |
parent | ab151d0adebc31fbb74adffa69e4524f69dc8b62 (diff) | |
download | otp-197b7b99b9e7e70046d51fa90b5922a1b22ee8cc.tar.gz otp-197b7b99b9e7e70046d51fa90b5922a1b22ee8cc.tar.bz2 otp-197b7b99b9e7e70046d51fa90b5922a1b22ee8cc.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/dialyzer/src/dialyzer_races.erl')
-rw-r--r-- | lib/dialyzer/src/dialyzer_races.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/dialyzer/src/dialyzer_races.erl b/lib/dialyzer/src/dialyzer_races.erl index cdb9f25999..2aa8343bce 100644 --- a/lib/dialyzer/src/dialyzer_races.erl +++ b/lib/dialyzer/src/dialyzer_races.erl @@ -1758,7 +1758,10 @@ compare_var_list(Var, VarList, RaceVarMap) -> ets_list_args(MaybeList) -> case is_list(MaybeList) of - true -> [ets_tuple_args(T) || T <- MaybeList]; + true -> + try [ets_tuple_args(T) || T <- MaybeList] + catch _:_ -> [?no_label] + end; false -> [ets_tuple_args(MaybeList)] end. |