aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src
diff options
context:
space:
mode:
authorAndrew Dryga <[email protected]>2017-02-12 19:34:56 +0200
committerAndrew Dryga <[email protected]>2017-02-14 11:31:30 +0200
commitef0e31ffbd35d9f0fe542a231ee450a5ead2bba5 (patch)
treeb30fb92841ffcc2f190cfce86abb328f9b14a4c2 /lib/dialyzer/src
parentec7242c7ed2e98f40b3450d04e21d1806a4009f4 (diff)
downloadotp-ef0e31ffbd35d9f0fe542a231ee450a5ead2bba5.tar.gz
otp-ef0e31ffbd35d9f0fe542a231ee450a5ead2bba5.tar.bz2
otp-ef0e31ffbd35d9f0fe542a231ee450a5ead2bba5.zip
Fixed typos in lib/dialyzer
Diffstat (limited to 'lib/dialyzer/src')
-rw-r--r--lib/dialyzer/src/dialyzer_callgraph.erl2
-rw-r--r--lib/dialyzer/src/dialyzer_dataflow.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/dialyzer/src/dialyzer_callgraph.erl b/lib/dialyzer/src/dialyzer_callgraph.erl
index bb02bc8c0d..6387f3d1e4 100644
--- a/lib/dialyzer/src/dialyzer_callgraph.erl
+++ b/lib/dialyzer/src/dialyzer_callgraph.erl
@@ -365,7 +365,7 @@ ets_lookup_set(Key, Table) ->
%% The core tree must be labeled as by cerl_trees:label/1 (or /2).
%% The set of labels in the tree must be disjoint from the set of
-%% labels already occuring in the callgraph.
+%% labels already occurring in the callgraph.
-spec scan_core_tree(cerl:c_module(), callgraph()) ->
{[mfa_or_funlbl()], [callgraph_edge()]}.
diff --git a/lib/dialyzer/src/dialyzer_dataflow.erl b/lib/dialyzer/src/dialyzer_dataflow.erl
index f706ebfb02..dc2238e63a 100644
--- a/lib/dialyzer/src/dialyzer_dataflow.erl
+++ b/lib/dialyzer/src/dialyzer_dataflow.erl
@@ -1363,7 +1363,7 @@ do_clause(C, Arg, ArgType0, OrigArgType, Map, State, Warns) ->
{{Tag, PatTypes}, false};
false ->
%% Try to find out if this is a default clause in a list
- %% comprehension and supress this. A real Hack(tm)
+ %% comprehension and suppress this. A real Hack(tm)
Force0 =
case is_compiler_generated(cerl:get_ann(C)) of
true ->