Skip to content

Commit b39ebe2

Browse files
committed
Cleanup and adapted description
1 parent df3a9ae commit b39ebe2

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

compiler/src/dotty/tools/backend/jvm/InlinedSourceMaps.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ import collection.mutable
3333
* stack frames for inlined calls.
3434
**/
3535
object InlinedSourceMaps:
36-
//private case class Request(targetPos: SourcePosition, origPos: SourcePosition, firstFakeLine: Int)
3736
private case class Request(inline: Inlined, firstFakeLine: Int)
3837

3938
private class File(id: Int, name: String, path: Option[String]):

compiler/src/dotty/tools/dotc/transform/InstrumentCoverage.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,6 @@ class InstrumentCoverage extends MacroTransform with IdentityDenotTransformer:
328328
* Repositions all trees directly inside an inlined expansion of a non empty call to the position of the call.
329329
* Any tree directly inside an empty call (inlined in the inlined code) retains their position.
330330
*
331-
* Until we implement JSR-45, we cannot represent in output positions in other source files.
332-
* So, reposition inlined code from other files with the call position.
333331
*/
334332
class Reposition extends TreeMap(cpyWithNewSource) {
335333

0 commit comments

Comments
 (0)