gleam icon indicating copy to clipboard operation
gleam copied to clipboard

Add qualifiers for type variables in generated Erlang typespecs

Open dvic opened this issue 1 month ago • 16 comments

Starting from OTP 26 erlang/otp#6915, warnings are emitted for unbound type variables, for example:

 -spec try_call_timeout_test() -> {ok, GGA}

We need to replace this unbound type variable with term() so that no warning is emitted.

originally reported in gleam-lang/erlang#46

dvic avatar May 31 '24 08:05 dvic