Stop using old inliner syntax with Scala 2.13

This commit is contained in:
Sarah Gerweck 2018-03-01 21:42:22 -08:00
parent 3f922dfce8
commit 113ebb27cb
No known key found for this signature in database
GPG Key ID: AFCB37207DB3F226

View File

@ -28,7 +28,7 @@ object HelpersImpl {
}
final lazy val forceOldInlineSyntax: Def.Initialize[Boolean] = {
val pat = """(?x)^ (?: 2\.12\.[0-2] (?:[^\d].*)? ) | (?: 2\.13\.0 .+ ) $""".r
val pat = """(?x)^ 2\.12\.[0-2] (?:[^\d].*)? $""".r
Def.map(scalaVersion) {
case pat() => true
case _ => false