Skip to content

Commit cf0070f

Browse files
olhotaknoti0na1
authored andcommitted
undo spurious edit
1 parent 285e62c commit cf0070f

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
@@ -2502,7 +2502,6 @@ object Types {
25022502
private def argDenot(param: TypeSymbol)(using Context): Denotation = {
25032503
val cls = param.owner
25042504
val args = prefix.baseType(cls).argInfos
2505-
//throw new RuntimeException("")
25062505
val typeParams = cls.typeParams
25072506

25082507
def concretize(arg: Type, tparam: TypeSymbol) = arg match {
@@ -2529,7 +2528,6 @@ object Types {
25292528
}
25302529
else {
25312530
if (!ctx.reporter.errorsReported)
2532-
//throw RuntimeException("")
25332531
throw TypeError(
25342532
em"""bad parameter reference $this at ${ctx.phase}
25352533
|the parameter is ${param.showLocated} but the prefix $prefix

0 commit comments

Comments
 (0)