diff --git a/lib/elixir_sense/core/introspection.ex b/lib/elixir_sense/core/introspection.ex index dbfb23ca..50416bab 100644 --- a/lib/elixir_sense/core/introspection.ex +++ b/lib/elixir_sense/core/introspection.ex @@ -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