Skip to content

Commit 6572c64

Browse files
committed
fix crash on elixir < 1.16
1 parent abad1f8 commit 6572c64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/language_server/lib/language_server/ast_utils.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ defmodule ElixirLS.LanguageServer.AstUtils do
198198
end
199199

200200
match?({:., _meta, [Access, :get]}, form) and match?([_ | _], args) ->
201-
if Keyword.get(meta, :from_brackets) or
201+
if Keyword.get(meta, :from_brackets) ||
202202
Version.match?(System.version(), "< 1.16.0-dev") do
203203
[arg | _] = args
204204

0 commit comments

Comments
 (0)