@@ -110,7 +110,7 @@ object messages {
110
110
111
111
/** Helper methods for messages */
112
112
def implicitClassRestrictionsText (implicit ctx : Context ): String =
113
- em """ | ${ NoColor ( " For a full list of restrictions on implicit classes visit" )}
113
+ em """ |For a full list of restrictions on implicit classes visit
114
114
| ${Blue (" http://docs.scala-lang.org/overviews/core/implicit-classes.html" )}"""
115
115
116
116
@@ -726,9 +726,9 @@ object messages {
726
726
}
727
727
728
728
val msg : String =
729
- em """ | ${ NoColor ( msgPrefix)} type arguments for $prettyName$expectedArgString
729
+ em """ | $msgPrefix type arguments for $prettyName$expectedArgString
730
730
|expected: $expectedArgString
731
- |actual: ${ NoColor ( actualArgString)} """ .stripMargin
731
+ |actual: $actualArgString""" .stripMargin
732
732
733
733
val explanation : String = {
734
734
val tooManyTypeParams =
@@ -2301,9 +2301,9 @@ object messages {
2301
2301
// The class or trait that the super-accessor should resolve too in `base`
2302
2302
val otherMixin = other.owner
2303
2303
// The super-call in `accMixin`
2304
- val superCall = i " super. $memberName"
2304
+ val superCall = hl( i " super. $memberName" )
2305
2305
// The super-call that the super-accesors in `base` forwards to
2306
- val resolvedSuperCall = i " super[ ${otherMixin.name}]. $memberName"
2306
+ val resolvedSuperCall = hl( i " super[ ${otherMixin.name}]. $memberName" )
2307
2307
// The super-call that we would have called if `super` in traits behaved like it
2308
2308
// does in classes, i.e. followed the linearization of the trait itself.
2309
2309
val staticSuperCall = {
@@ -2315,9 +2315,9 @@ object messages {
2315
2315
case None => // Might be reachable under separate compilation
2316
2316
" SomeParent"
2317
2317
}
2318
- i " super[ $staticSuperName]. $memberName"
2318
+ hl( i " super[ $staticSuperName]. $memberName" )
2319
2319
}
2320
- em """ $base cannot be defined due to a conflict between its parents when
2320
+ ex """ $base cannot be defined due to a conflict between its parents when
2321
2321
|implementing a super-accessor for $memberName in $accMixin:
2322
2322
|
2323
2323
|1. One of its parent ( ${accMixin.name}) contains a call $superCall in its body,
0 commit comments