blob: 28125ec3d94eba9c2a346e4c5619e2e9655fd046 (
plain) (
tree)
|
|
%% ERL-157, OTP-13653.
%% Would cause Dialyzer to go into an infinite loop.
-module(loopy).
-export([loop/1]).
-spec loop(Args) -> ok when
Args :: [{Module, Args}],
Module :: module(),
Args :: any().
loop([{Module, Args} | Rest]) ->
Module:init(Args),
loop(Rest);
loop([]) ->
ok.
|