File tree 1 file changed +4
-5
lines changed
compiler/src/dotty/tools/dotc/typer
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -153,11 +153,6 @@ object ErrorReporting {
153
153
|
154
154
|The tests were made under $constraintText"""
155
155
156
- /** Format `raw` implicitNotFound or implicitAmbiguous argument, replacing
157
- * all occurrences of `${X}` where `X` is in `paramNames` with the
158
- * corresponding shown type in `args`.
159
- */
160
-
161
156
def rewriteNotice : String =
162
157
if Feature .migrateTo3 then " \n This patch can be inserted automatically under -rewrite."
163
158
else " "
@@ -285,6 +280,10 @@ class ImplicitSearchError(
285
280
}
286
281
}
287
282
283
+ /** Format `raw` implicitNotFound or implicitAmbiguous argument, replacing
284
+ * all occurrences of `${X}` where `X` is in `paramNames` with the
285
+ * corresponding shown type in `args`.
286
+ */
288
287
private def userDefinedErrorString (raw : String , paramNames : List [String ], args : List [Type ]): String = {
289
288
def translate (name : String ): Option [String ] = {
290
289
val idx = paramNames.indexOf(name)
You can’t perform that action at this time.
0 commit comments