Skip to content

Commit 2d76cfc

Browse files
committed
Add doc comment to Statement @param line that it's 1-base
1 parent cea01aa commit 2d76cfc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

compiler/src/dotty/tools/dotc/coverage/Coverage.scala

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ class Coverage:
1111

1212
def addStatement(stmt: Statement): Unit = statementsById(stmt.id) = stmt
1313

14-
/** A statement that can be invoked, and thus counted as "covered" by code coverage tools. */
14+
15+
/**
16+
* A statement that can be invoked, and thus counted as "covered" by code coverage tools.
17+
*
18+
* @param line 1-indexed line number
19+
*/
1520
case class Statement(
1621
location: Location,
1722
id: Int,

0 commit comments

Comments
 (0)