diff --git a/src/aeso_ast_infer_types.erl b/src/aeso_ast_infer_types.erl index 87dabf5..4abc45a 100644 --- a/src/aeso_ast_infer_types.erl +++ b/src/aeso_ast_infer_types.erl @@ -1664,7 +1664,7 @@ check_state_init(Env) -> case unfold_types_in_type(Env, StateType) of false -> ok; - {_, {_, {_, {alias_t, {tuple_t, _, []}}}}} -> + {_, {_, {_, {alias_t, {tuple_t, _, []}}}}} -> %% type state = () ok; _ -> #scope{ ann = AnnCon } = get_scope(Env, Top),