[erlang-patches] tid() is not a predefined type anymore

Kostis Sagonas <>
Tue Jun 1 10:20:07 CEST 2010


Raimo Niskanen wrote:
> ++<<<<<<< HEAD
>  +-spec load_mod1(module(), file:filename(), binary(), tid()) -> no_return().
> ++=======
> + -spec load_mod1(atom(), file:filename(), binary(), ets:tid()) -> no_return().
> ++>>>>>>> ks/ets-tid-type
>   
>   load_mod1(Mod, File, Binary, Db) ->
>       store_module(Mod, File, Binary, Db),
> 
> In your new branch ks/ets-tid-type you use atom() instead of module()
> that was added by ks/cleanups as suggested by tidier. I know that
> the tid() -> ets:tid() change is expected buth the module() -> atom()
> is not my home turf...

You should take the atom() one (or change it manually).

Kostis


More information about the erlang-patches mailing list