Skip to content

Commit 44eab07

Browse files
committed
undo spurious edit
1 parent 02589aa commit 44eab07

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
@@ -2459,7 +2459,6 @@ object Types {
24592459
private def argDenot(param: TypeSymbol)(using Context): Denotation = {
24602460
val cls = param.owner
24612461
val args = prefix.baseType(cls).argInfos
2462-
//throw new RuntimeException("")
24632462
val typeParams = cls.typeParams
24642463

24652464
def concretize(arg: Type, tparam: TypeSymbol) = arg match {
@@ -2486,7 +2485,6 @@ object Types {
24862485
}
24872486
else {
24882487
if (!ctx.reporter.errorsReported)
2489-
//throw RuntimeException("")
24902488
throw TypeError(
24912489
em"""bad parameter reference $this at ${ctx.phase}
24922490
|the parameter is ${param.showLocated} but the prefix $prefix

0 commit comments

Comments
 (0)