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
46
46
noPosition
47
47
48
48
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() ))
52
52
}
53
53
54
54
delegate.log(position, sb.toString(), severity)
55
55
}
56
56
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 {
58
58
case None => Maybe .nothing[T ]
59
59
case Some (s) => Maybe .just[T ](s)
60
60
}
You can’t perform that action at this time.
0 commit comments