@@ -240,11 +240,11 @@ class Definitions {
240240 @ tu lazy val CompiletimeTesting_ErrorKind : Symbol = requiredModule(" scala.compiletime.testing.ErrorKind" )
241241 @ tu lazy val CompiletimeTesting_ErrorKind_Parser : Symbol = CompiletimeTesting_ErrorKind .requiredMethod(" Parser" )
242242 @ tu lazy val CompiletimeTesting_ErrorKind_Typer : Symbol = CompiletimeTesting_ErrorKind .requiredMethod(" Typer" )
243- @ tu lazy val CompiletimeOpsPackageObject : Symbol = requiredModule (" scala.compiletime.ops.package " )
244- @ tu lazy val CompiletimeOpsPackageObjectAny : Symbol = requiredModule(" scala.compiletime.ops.package .any" )
245- @ tu lazy val CompiletimeOpsPackageObjectInt : Symbol = requiredModule(" scala.compiletime.ops.package .int" )
246- @ tu lazy val CompiletimeOpsPackageObjectString : Symbol = requiredModule(" scala.compiletime.ops.package .string" )
247- @ tu lazy val CompiletimeOpsPackageObjectBoolean : Symbol = requiredModule(" scala.compiletime.ops.package .boolean" )
243+ @ tu lazy val CompiletimeOpsPackage : Symbol = requiredPackage (" scala.compiletime.ops" )
244+ @ tu lazy val CompiletimeOpsAny : Symbol = requiredModule(" scala.compiletime.ops.any" )
245+ @ tu lazy val CompiletimeOpsInt : Symbol = requiredModule(" scala.compiletime.ops.int" )
246+ @ tu lazy val CompiletimeOpsString : Symbol = requiredModule(" scala.compiletime.ops.string" )
247+ @ tu lazy val CompiletimeOpsBoolean : Symbol = requiredModule(" scala.compiletime.ops.boolean" )
248248
249249 /** The `scalaShadowing` package is used to safely modify classes and
250250 * objects in scala so that they can be used from dotty. They will
@@ -1098,10 +1098,10 @@ class Definitions {
10981098 compiletimePackageOpTypes.contains(sym.name)
10991099 && (
11001100 sym.owner == CompiletimePackageObject .moduleClass && sym.name == tpnme.S
1101- || sym.owner == CompiletimeOpsPackageObjectAny .moduleClass && compiletimePackageAnyTypes.contains(sym.name)
1102- || sym.owner == CompiletimeOpsPackageObjectInt .moduleClass && compiletimePackageIntTypes.contains(sym.name)
1103- || sym.owner == CompiletimeOpsPackageObjectBoolean .moduleClass && compiletimePackageBooleanTypes.contains(sym.name)
1104- || sym.owner == CompiletimeOpsPackageObjectString .moduleClass && compiletimePackageStringTypes.contains(sym.name)
1101+ || sym.effectiveOwner == CompiletimeOpsAny .moduleClass && compiletimePackageAnyTypes.contains(sym.name)
1102+ || sym.effectiveOwner == CompiletimeOpsInt .moduleClass && compiletimePackageIntTypes.contains(sym.name)
1103+ || sym.effectiveOwner == CompiletimeOpsBoolean .moduleClass && compiletimePackageBooleanTypes.contains(sym.name)
1104+ || sym.effectiveOwner == CompiletimeOpsString .moduleClass && compiletimePackageStringTypes.contains(sym.name)
11051105 )
11061106
11071107 // ----- Scala-2 library patches --------------------------------------
0 commit comments