Skip to content

Commit aa4cccc

Browse files
committed
Make WithoutPreciseParameterTypes mandatory
No need to make it optional, since we will defer to 3.1 anyway.
1 parent 4428ebe commit aa4cccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/Definitions.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ class Definitions {
760760
@tu lazy val LanguageDeprecatedModule: Symbol = requiredModule("scala.language.deprecated")
761761
@tu lazy val NonLocalReturnControlClass: ClassSymbol = requiredClass("scala.runtime.NonLocalReturnControl")
762762
@tu lazy val SelectableClass: ClassSymbol = requiredClass("scala.Selectable")
763-
@tu lazy val WithoutPreciseParameterTypesClass: Symbol = getClassIfDefined("scala.Selectable.WithoutPreciseParameterTypes")
763+
@tu lazy val WithoutPreciseParameterTypesClass: Symbol = requiredClass("scala.Selectable.WithoutPreciseParameterTypes")
764764
// todo: make this a required class from 3.1 on
765765

766766
@tu lazy val ReflectPackageClass: Symbol = requiredPackage("scala.reflect.package").moduleClass

0 commit comments

Comments
 (0)