summaryrefslogtreecommitdiff
path: root/lib/stdlib/examples/erl_id_trans.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stdlib/examples/erl_id_trans.erl')
-rw-r--r--lib/stdlib/examples/erl_id_trans.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stdlib/examples/erl_id_trans.erl b/lib/stdlib/examples/erl_id_trans.erl
index 0aa23fb8b3..264148eaf4 100644
--- a/lib/stdlib/examples/erl_id_trans.erl
+++ b/lib/stdlib/examples/erl_id_trans.erl
@@ -612,6 +612,8 @@ type({atom,Anno,A}) ->
{atom,Anno,A};
type({integer,Anno,I}) ->
{integer,Anno,I};
+type({char,Anno,C}) ->
+ {char,Anno,C};
type({op,Anno,Op,T}) ->
T1 = type(T),
{op,Anno,Op,T1};