Skip to content

Commit e802082

Browse files
authored
Fix PCall.forceSubstitution (#865)
1 parent 94bd536 commit e802082

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/main/scala/viper/silver/parser/ParseAst.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -965,11 +965,6 @@ case class PCall(idnref: PIdnRef[PCallable], callArgs: PDelimited.Comma[PSym.Par
965965
case _ => ots
966966
}
967967
super.forceSubstitution(ts)
968-
typeSubstitutions.clear()
969-
typeSubstitutions += ts
970-
typ = typ.substitute(ts)
971-
assert(typ.isGround)
972-
args.foreach(_.forceSubstitution(ts))
973968
}
974969
}
975970

0 commit comments

Comments
 (0)