You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
%% -spec h(_) -> apple | banana. % Same error with or without spech(1.0) ->banana;
h(_) ->apple.
Error
** exception error: no function clause matching typechecker:add_any_types_pat({float,14,1.0},#{}) (src/typechecker.erl, line 2542)
in function typechecker:add_type_pat/4 (src/typechecker.erl, line 2358)
in call from typechecker:add_types_pats/4 (src/typechecker.erl, line 2348)
in call from typechecker:check_clause/4 (src/typechecker.erl, line 2300)
in call from lists:map/2 (lists.erl, line 1239)
in call from typechecker:check_clauses/4 (src/typechecker.erl, line 2286)
in call from typechecker:check_clauses_fun/3 (src/typechecker.erl, line 2256)
in call from typechecker:'-type_check_forms/2-fun-0-'/5 (src/typechecker.erl, line 2680)
The text was updated successfully, but these errors were encountered:
UlfNorell
added a commit
to UlfNorell/Gradualizer
that referenced
this issue
Nov 5, 2018
Test case:
Error
The text was updated successfully, but these errors were encountered: