Skip to content

Commit

Permalink
fix version match on 1.10-rc
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed Jan 7, 2020
1 parent 8b54a77 commit fc8f326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elixir_sense/core/introspection.ex
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ defmodule ElixirSense.Core.Introspection do
# Prior to 1.10 elixir generated invalid specs for macros and macrocallbacks with `when`
# https://github.com/elixir-lang/elixir/issues/9687
sub =
if Version.match?(System.version(), ">= 1.10.0") do
if Version.match?(System.version(), ">= 1.10.0-rc.0") do
[{String.to_atom(rest), info2, rest_args |> tl}, ret]
else
# specs is missing first argument of type term so nothing to drop here
Expand Down

0 comments on commit fc8f326

Please sign in to comment.