Skip to content

Commit c70182c

Browse files
committed
undo spurious edit
1 parent 60ba307 commit c70182c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/src/dotty/tools/dotc/core/Types.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2472,7 +2472,6 @@ object Types {
24722472
private def argDenot(param: TypeSymbol)(using Context): Denotation = {
24732473
val cls = param.owner
24742474
val args = prefix.baseType(cls).argInfos
2475-
//throw new RuntimeException("")
24762475
val typeParams = cls.typeParams
24772476

24782477
def concretize(arg: Type, tparam: TypeSymbol) = arg match {
@@ -2499,7 +2498,6 @@ object Types {
24992498
}
25002499
else {
25012500
if (!ctx.reporter.errorsReported)
2502-
//throw RuntimeException("")
25032501
throw TypeError(
25042502
em"""bad parameter reference $this at ${ctx.phase}
25052503
|the parameter is ${param.showLocated} but the prefix $prefix

0 commit comments

Comments
 (0)