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 285e62c commit cf0070fCopy full SHA for cf0070f
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -2502,7 +2502,6 @@ object Types {
2502
private def argDenot(param: TypeSymbol)(using Context): Denotation = {
2503
val cls = param.owner
2504
val args = prefix.baseType(cls).argInfos
2505
- //throw new RuntimeException("")
2506
val typeParams = cls.typeParams
2507
2508
def concretize(arg: Type, tparam: TypeSymbol) = arg match {
@@ -2529,7 +2528,6 @@ object Types {
2529
2528
}
2530
else {
2531
if (!ctx.reporter.errorsReported)
2532
- //throw RuntimeException("")
2533
throw TypeError(
2534
em"""bad parameter reference $this at ${ctx.phase}
2535
|the parameter is ${param.showLocated} but the prefix $prefix
0 commit comments