From 507aac03380204b8ca5c87aa612b5e9536605989 Mon Sep 17 00:00:00 2001 From: ieQu1 <99872536+ieQu1@users.noreply.github.com> Date: Mon, 1 Jul 2024 14:37:07 +0200 Subject: [PATCH] Fix typespec for typerefl:desugar --- src/typerefl.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/typerefl.erl b/src/typerefl.erl index 873c6b2..df9a1a6 100644 --- a/src/typerefl.erl +++ b/src/typerefl.erl @@ -797,7 +797,7 @@ or_else(A, B) -> %% @private Transforms tuples to `tuple/1' calls and so on. Forces %% lazy evaluation. --spec desugar(tuple() | [type(), ...] | [] | #{type() => type()}) -> type(). +-spec desugar(type()) -> type_intern(). desugar(T = {?type_refl, _}) -> T; desugar(#lazy_type{thunk = Type}) ->