$ erlc test.erl ./test.erl:5: referring to built-in type tid as a remote type; please take out the module name --Per Hedeland test.erl------------------ -module(test). -export([test/1]). -spec test(cs:tid()) -> ok. test(_) -> ok.