indent: error with macro in 'case'
The following code confuses the indenter. Using "case ?MANAGER of" instead gives a different error
case whereis(?MANAGER) of
undefined ->
Pid = spawn(fun() -> manager([]) end),
register(?MANAGER, Pid);
_ ->
ok
end,
Leave a comment