Add comment about state type

This commit is contained in:
Gaith Hallak 2022-07-25 00:12:54 +04:00
parent 53461d60e7
commit df9f258394

View File

@ -1664,7 +1664,7 @@ check_state_init(Env) ->
case unfold_types_in_type(Env, StateType) of case unfold_types_in_type(Env, StateType) of
false -> false ->
ok; ok;
{_, {_, {_, {alias_t, {tuple_t, _, []}}}}} -> {_, {_, {_, {alias_t, {tuple_t, _, []}}}}} -> %% type state = ()
ok; ok;
_ -> _ ->
#scope{ ann = AnnCon } = get_scope(Env, Top), #scope{ ann = AnnCon } = get_scope(Env, Top),