@@ -2573,17 +2573,19 @@ class QuoteContextImpl private (ctx: Context) extends QuoteContext:
25732573 case cu => " "
25742574 end Source
25752575
2576- def error (msg : => String , pos : Position ): Unit =
2577- dotc.report.error(msg, pos)
2576+ object Reporting extends ReportingModule :
2577+ def error (msg : => String , pos : Position ): Unit =
2578+ dotc.report.error(msg, pos)
25782579
2579- def error (msg : => String , sourceFile : SourceFile , start : Int , end : Int ): Unit =
2580- dotc.report.error(msg, dotc.util.SourcePosition (sourceFile, dotc.util.Spans .Span (start, end)))
2580+ def error (msg : => String , sourceFile : SourceFile , start : Int , end : Int ): Unit =
2581+ dotc.report.error(msg, dotc.util.SourcePosition (sourceFile, dotc.util.Spans .Span (start, end)))
25812582
2582- def warning (msg : => String , pos : Position ): Unit =
2583- dotc.report.warning(msg, pos)
2583+ def warning (msg : => String , pos : Position ): Unit =
2584+ dotc.report.warning(msg, pos)
25842585
2585- def warning (msg : => String , sourceFile : SourceFile , start : Int , end : Int ): Unit =
2586- dotc.report.error(msg, dotc.util.SourcePosition (sourceFile, dotc.util.Spans .Span (start, end)))
2586+ def warning (msg : => String , sourceFile : SourceFile , start : Int , end : Int ): Unit =
2587+ dotc.report.error(msg, dotc.util.SourcePosition (sourceFile, dotc.util.Spans .Span (start, end)))
2588+ end Reporting
25872589
25882590 type Documentation = dotc.core.Comments .Comment
25892591
0 commit comments