[erlang-questions 67] Problem using -(extends) with gen_server

Ken Robinson <>
Mon Mar 28 02:32:25 CEST 2011


Hi All,
I was trying to use -(extends) with gen_server. All the callback
methods remained the same. The only exported function from the
extended gen_server was the handle_call/3. What I found was it seemed
to be failing at the init stage. Does gen_server work with -(extends)
or should it be avoided. Does -(extends) only work with vanilla
modules?

-- 
regards,
Ken Robinson
Mob +61438681120
Home +61738523767



More information about the erlang-questions mailing list