Skip to content

Commit b064088

Browse files
Merge pull request #12425 from dos65/bridge_fix_inline_diagnostic_pos
Uninline diagnostic position before passing it into xsbti.Reporter
2 parents 13582bf + fd4b4f9 commit b064088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbt-bridge/src/dotty/tools/xsbt/DelegatingReporter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public void printSummary(Context ctx) {
3030

3131
public void doReport(Diagnostic dia, Context ctx) {
3232
Severity severity = severityOf(dia.level());
33-
Position position = positionOf(dia.pos());
33+
Position position = positionOf(dia.pos().nonInlined());
3434

3535
Message message = dia.msg();
3636
StringBuilder rendered = new StringBuilder();

0 commit comments

Comments
 (0)