Add Scala 2.13 milestone support for inliner
This commit is contained in:
parent
b9de235e55
commit
1b084d35e4
@ -28,7 +28,7 @@ object HelpersImpl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
final lazy val forceOldInlineSyntax: Def.Initialize[Boolean] = {
|
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) {
|
Def.map(scalaVersion) {
|
||||||
case pat() => true
|
case pat() => true
|
||||||
case _ => false
|
case _ => false
|
||||||
|
Loading…
Reference in New Issue
Block a user