File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -153,11 +153,6 @@ object ErrorReporting {
153153 |
154154 |The tests were made under $constraintText"""
155155
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-
161156 def rewriteNotice : String =
162157 if Feature .migrateTo3 then " \n This patch can be inserted automatically under -rewrite."
163158 else " "
@@ -285,6 +280,10 @@ class ImplicitSearchError(
285280 }
286281 }
287282
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+ */
288287 private def userDefinedErrorString (raw : String , paramNames : List [String ], args : List [Type ]): String = {
289288 def translate (name : String ): Option [String ] = {
290289 val idx = paramNames.indexOf(name)
You can’t perform that action at this time.
0 commit comments