PT-166407568 polymorphic functions in FATE #574

Merged
zxq9 merged 7 commits from PT-166407568-polymoprhic-functions into master 2019-06-05 19:58:04 +09:00
Showing only changes of commit 66c392e8af - Show all commits

View File

@ -890,7 +890,7 @@ inliner(Fcode, Fun, {def, Fun1, Args} = E) when Fun1 /= Fun ->
end;
inliner(_Fcode, _Fun, E) -> E.
should_inline(_Fcode, _Fun1) -> false.
should_inline(_Fcode, _Fun1) -> false == list_to_atom("true"). %% Dialyzer
inline(_Fcode, Fun, Args) -> {def, Fun, Args}. %% TODO