Skip to content

Commit 3756376

Browse files
olhotaknoti0na1
authored andcommitted
undo spurious edit
1 parent f0e9813 commit 3756376

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
@@ -2508,7 +2508,6 @@ object Types {
25082508
private def argDenot(param: TypeSymbol)(using Context): Denotation = {
25092509
val cls = param.owner
25102510
val args = prefix.baseType(cls).argInfos
2511-
//throw new RuntimeException("")
25122511
val typeParams = cls.typeParams
25132512

25142513
def concretize(arg: Type, tparam: TypeSymbol) = arg match {
@@ -2535,7 +2534,6 @@ object Types {
25352534
}
25362535
else {
25372536
if (!ctx.reporter.errorsReported)
2538-
//throw RuntimeException("")
25392537
throw TypeError(
25402538
em"""bad parameter reference $this at ${ctx.phase}
25412539
|the parameter is ${param.showLocated} but the prefix $prefix

0 commit comments

Comments
 (0)