File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,15 @@ final class DelegatingReporter(delegate: xsbti.Reporter) extends Reporter
4646 noPosition
4747
4848 val sb = new StringBuilder ()
49- sb.append(messageAndPos(cont.contained, cont.pos, diagnosticLevel(cont)))
50- if (ctx.shouldExplain(cont) && cont.contained.explanation.nonEmpty) {
51- sb.append(explanation(cont.contained))
49+ sb.append(messageAndPos(cont.contained() , cont.pos, diagnosticLevel(cont)))
50+ if (ctx.shouldExplain(cont) && cont.contained() .explanation.nonEmpty) {
51+ sb.append(explanation(cont.contained() ))
5252 }
5353
5454 delegate.log(position, sb.toString(), severity)
5555 }
5656
57- private [this ] def maybe [T ](opt : Option [T ]): Maybe [T ] = opt match {
57+ private [this ] def maybe [T ](opt : Option [T ]): Maybe [T ] = opt match {
5858 case None => Maybe .nothing[T ]
5959 case Some (s) => Maybe .just[T ](s)
6060 }
You can’t perform that action at this time.
0 commit comments