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 60ba307 commit c70182cCopy full SHA for c70182c
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -2472,7 +2472,6 @@ object Types {
2472
private def argDenot(param: TypeSymbol)(using Context): Denotation = {
2473
val cls = param.owner
2474
val args = prefix.baseType(cls).argInfos
2475
- //throw new RuntimeException("")
2476
val typeParams = cls.typeParams
2477
2478
def concretize(arg: Type, tparam: TypeSymbol) = arg match {
@@ -2499,7 +2498,6 @@ object Types {
2499
2498
}
2500
else {
2501
if (!ctx.reporter.errorsReported)
2502
- //throw RuntimeException("")
2503
throw TypeError(
2504
em"""bad parameter reference $this at ${ctx.phase}
2505
|the parameter is ${param.showLocated} but the prefix $prefix
0 commit comments