From 1b084d35e4f8720ef29f73e75bdb907fc04887f6 Mon Sep 17 00:00:00 2001 From: Sarah Gerweck Date: Sun, 29 Oct 2017 19:05:08 -0700 Subject: [PATCH] Add Scala 2.13 milestone support for inliner --- project/Helpers.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Helpers.scala b/project/Helpers.scala index 2ca6855..3d8b8ad 100644 --- a/project/Helpers.scala +++ b/project/Helpers.scala @@ -28,7 +28,7 @@ object HelpersImpl { } final lazy val forceOldInlineSyntax: Def.Initialize[Boolean] = { - val pat = """(?x)^ 2\.12\.[0-2] (?:[^\d].*)? $""".r + val pat = """(?x)^ (?: 2\.12\.[0-2] (?:[^\d].*)? ) | (?: 2\.13\.0 .+ ) $""".r Def.map(scalaVersion) { case pat() => true case _ => false