Indentation confused by -spec directives
When I run "Correct Indentation" on these two lines, it works fine.
But trying to indent
results in
The exact version number is 0.9.0.201010061109
start_link(Config) ->
gen_server:start_link({local, ?MODULE}, ?MODULE, Config, []).
But trying to indent
-spec start_link(config()) -> {ok, pid()}.
start_link(Config) ->
gen_server:start_link({local, ?MODULE}, ?MODULE, Config, []).
results in
-spec start_link(config()) -> {ok, pid()}.
start_link(Config) ->
gen_server:start_link({local, ?MODULE}, ?MODULE, Config, []).
The exact version number is 0.9.0.201010061109
Leave a comment
on 2010-12-03 06:41 *
By Vlad Dumitrescu
Found in version changed from 0.9.0 to 0.9.3
Milestone changed from backlog to sprint #12 - 0.9.5
Priority changed from Normal (3) to High (2)
Found in version changed from 0.9.0 to 0.9.3
Milestone changed from backlog to sprint #12 - 0.9.5
Priority changed from Normal (3) to High (2)
Thanks! I confirm the error is in the latest 0.9.3
I raise priority because it is annoying to users and hopefully easy to fix.
I raise priority because it is annoying to users and hopefully easy to fix.