mirror of https://github.com/sbt/sbt.git
Update to Scala 3.3.1
This commit is contained in:
parent
e87e1d6e0d
commit
f8f8db9e58
|
|
@ -387,11 +387,12 @@ object Eval:
|
|||
tree match
|
||||
case tpd.ValDef(name, tpt, _)
|
||||
if isTopLevelModule(tree.symbol.owner) && isAcceptableType(tpt.tpe) =>
|
||||
vals ::= name.mangledString
|
||||
case tpd.ValDef(name, tpt, _) if name.mangledString.contains("$lzy") =>
|
||||
val str = name.mangledString
|
||||
vals ::= (
|
||||
if str.contains("$lzy") then str.take(str.indexOf("$"))
|
||||
else str
|
||||
)
|
||||
val methodName = str.take(str.indexOf("$"))
|
||||
val m = tree.symbol.owner.requiredMethod(methodName)
|
||||
if isAcceptableType(m.info) then vals ::= methodName
|
||||
case t: tpd.Template => this((), t.body)
|
||||
case t: tpd.PackageDef => this((), t.stats)
|
||||
case t: tpd.TypeDef => this((), t.rhs)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ object Dependencies {
|
|||
// WARNING: Please Scala update versions in PluginCross.scala too
|
||||
val scala212 = "2.12.17"
|
||||
val scala213 = "2.13.8"
|
||||
val scala3 = "3.2.1"
|
||||
val scala3 = "3.3.1"
|
||||
val checkPluginCross = settingKey[Unit]("Make sure scalaVersion match up")
|
||||
val baseScalaVersion = scala3
|
||||
def nightlyVersion: Option[String] =
|
||||
|
|
|
|||
Loading…
Reference in New Issue