Skip to content

Commit

Permalink
Fix typespec for typerefl:desugar
Browse files Browse the repository at this point in the history
  • Loading branch information
ieQu1 committed Jul 1, 2024
1 parent e75e57c commit 507aac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typerefl.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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}) ->
Expand Down

0 comments on commit 507aac0

Please sign in to comment.