Skip to content

Commit

Permalink
fail slightly later when scala.runtime.Lazy* is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
adriaanm committed Aug 18, 2016
1 parent 5d135dc commit 63bd181
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/reflect/scala/reflect/internal/Definitions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ trait Definitions extends api.StandardDefinitions {
lazy val boxedClass = classesMap(x => getClassByName(boxedName(x)))
lazy val refClass = classesMap(x => getRequiredClass("scala.runtime." + x + "Ref"))
lazy val volatileRefClass = classesMap(x => getRequiredClass("scala.runtime.Volatile" + x + "Ref"))
lazy val lazyHolders = symbolsMap(ScalaValueClasses, x => getRequiredClass("scala.runtime.Lazy" + x))
lazy val LazyRefClass = getRequiredClass("scala.runtime.LazyRef")
lazy val LazyUnitClass = getRequiredClass("scala.runtime.LazyUnit")
lazy val lazyHolders = symbolsMap(ScalaValueClasses, x => getClassIfDefined("scala.runtime.Lazy" + x))
lazy val LazyRefClass = getClassIfDefined("scala.runtime.LazyRef")
lazy val LazyUnitClass = getClassIfDefined("scala.runtime.LazyUnit")

lazy val allRefClasses: Set[Symbol] = {
refClass.values.toSet ++ volatileRefClass.values.toSet ++ Set(VolatileObjectRefClass, ObjectRefClass)
Expand Down

0 comments on commit 63bd181

Please sign in to comment.