We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0e9813 commit 3756376Copy full SHA for 3756376
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -2508,7 +2508,6 @@ object Types {
2508
private def argDenot(param: TypeSymbol)(using Context): Denotation = {
2509
val cls = param.owner
2510
val args = prefix.baseType(cls).argInfos
2511
- //throw new RuntimeException("")
2512
val typeParams = cls.typeParams
2513
2514
def concretize(arg: Type, tparam: TypeSymbol) = arg match {
@@ -2535,7 +2534,6 @@ object Types {
2535
2534
}
2536
else {
2537
if (!ctx.reporter.errorsReported)
2538
- //throw RuntimeException("")
2539
throw TypeError(
2540
em"""bad parameter reference $this at ${ctx.phase}
2541
|the parameter is ${param.showLocated} but the prefix $prefix
0 commit comments