We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d7fa04 commit f2c27c5Copy full SHA for f2c27c5
apps/language_server/lib/language_server/providers/execute_command/apply_spec.ex
@@ -40,7 +40,7 @@ defmodule ElixirLS.LanguageServer.Providers.ExecuteCommand.ApplySpec do
40
else
41
new_line = SourceFile.function_line(mod, fun, arity)
42
43
- if SourceFile.function_def_on_line?(cur_text, line, fun) do
+ if SourceFile.function_def_on_line?(cur_text, new_line, fun) do
44
new_line
45
46
raise "Function definition has moved since suggestion was generated. " <>
0 commit comments