aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2013-01-28 16:44:05 +0100
committerStavros Aronis <[email protected]>2013-01-28 16:44:05 +0100
commitde4fd96e98b06c3c28bd0ea1abb067a392e39788 (patch)
tree188984f282e7a16adea74e6ae951db7e99d12c25 /lib
parent9109d120982deaab4be10a39be117504720672f8 (diff)
downloadotp-de4fd96e98b06c3c28bd0ea1abb067a392e39788.tar.gz
otp-de4fd96e98b06c3c28bd0ea1abb067a392e39788.tar.bz2
otp-de4fd96e98b06c3c28bd0ea1abb067a392e39788.zip
Fix wording of error message
Diffstat (limited to 'lib')
-rw-r--r--lib/hipe/cerl/erl_types.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/cerl/erl_types.erl b/lib/hipe/cerl/erl_types.erl
index 0f88b32db1..532b2e43cd 100644
--- a/lib/hipe/cerl/erl_types.erl
+++ b/lib/hipe/cerl/erl_types.erl
@@ -3898,7 +3898,7 @@ t_form_to_string({type, _L, range, [From, To]} = Type) ->
case {erl_eval:partial_eval(From), erl_eval:partial_eval(To)} of
{{integer, _, FromVal}, {integer, _, ToVal}} ->
io_lib:format("~w..~w", [FromVal, ToVal]);
- _ -> io_lib:format("Bad formed type ~w",[Type])
+ _ -> io_lib:format("Badly formed type ~w",[Type])
end;
t_form_to_string({type, _L, record, [{atom, _, Name}]}) ->
io_lib:format("#~w{}", [Name]);