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 02589aa commit 44eab07Copy full SHA for 44eab07
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -2459,7 +2459,6 @@ object Types {
2459
private def argDenot(param: TypeSymbol)(using Context): Denotation = {
2460
val cls = param.owner
2461
val args = prefix.baseType(cls).argInfos
2462
- //throw new RuntimeException("")
2463
val typeParams = cls.typeParams
2464
2465
def concretize(arg: Type, tparam: TypeSymbol) = arg match {
@@ -2486,7 +2485,6 @@ object Types {
2486
2485
}
2487
else {
2488
if (!ctx.reporter.errorsReported)
2489
- //throw RuntimeException("")
2490
throw TypeError(
2491
em"""bad parameter reference $this at ${ctx.phase}
2492
|the parameter is ${param.showLocated} but the prefix $prefix
0 commit comments