File tree 1 file changed +3
-3
lines changed
src/reflect/scala/reflect/internal
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -93,9 +93,9 @@ trait Definitions extends api.StandardDefinitions {
93
93
lazy val boxedClass = classesMap(x => getClassByName(boxedName(x)))
94
94
lazy val refClass = classesMap(x => getRequiredClass(" scala.runtime." + x + " Ref" ))
95
95
lazy val volatileRefClass = classesMap(x => getRequiredClass(" scala.runtime.Volatile" + x + " Ref" ))
96
- lazy val lazyHolders = symbolsMap(ScalaValueClasses , x => getRequiredClass (" scala.runtime.Lazy" + x))
97
- lazy val LazyRefClass = getRequiredClass (" scala.runtime.LazyRef" )
98
- lazy val LazyUnitClass = getRequiredClass (" scala.runtime.LazyUnit" )
96
+ lazy val lazyHolders = symbolsMap(ScalaValueClasses , x => getClassIfDefined (" scala.runtime.Lazy" + x))
97
+ lazy val LazyRefClass = getClassIfDefined (" scala.runtime.LazyRef" )
98
+ lazy val LazyUnitClass = getClassIfDefined (" scala.runtime.LazyUnit" )
99
99
100
100
lazy val allRefClasses : Set [Symbol ] = {
101
101
refClass.values.toSet ++ volatileRefClass.values.toSet ++ Set (VolatileObjectRefClass , ObjectRefClass )
You can’t perform that action at this time.
0 commit comments