diff --git a/lib/stdlib/examples/erl_id_trans.erl b/lib/stdlib/examples/erl_id_trans.erl index 0aa23fb8b3da..264148eaf4fd 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};