diff options
author | Stavros Aronis <[email protected]> | 2013-01-28 16:44:05 +0100 |
---|---|---|
committer | Stavros Aronis <[email protected]> | 2013-01-28 16:44:05 +0100 |
commit | de4fd96e98b06c3c28bd0ea1abb067a392e39788 (patch) | |
tree | 188984f282e7a16adea74e6ae951db7e99d12c25 | |
parent | 9109d120982deaab4be10a39be117504720672f8 (diff) | |
download | otp-de4fd96e98b06c3c28bd0ea1abb067a392e39788.tar.gz otp-de4fd96e98b06c3c28bd0ea1abb067a392e39788.tar.bz2 otp-de4fd96e98b06c3c28bd0ea1abb067a392e39788.zip |
Fix wording of error message
-rw-r--r-- | lib/hipe/cerl/erl_types.erl | 2 |
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]); |