From fc8f3265443abed448fc1b5774f6175192f604e3 Mon Sep 17 00:00:00 2001 From: Lukasz Samson Date: Tue, 7 Jan 2020 22:40:00 +0100 Subject: [PATCH] fix version match on 1.10-rc --- lib/elixir_sense/core/introspection.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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