Commit 30cd883
authored
Improve MiMa failure error message (#19613)
Now it tells which filer list is related to this test.
Example failure:
```
[error] scala3-library-bootstrapped: Failed binary compatibility check against org.scala-lang:scala3-library_3:3.3.0! Found 1 potential problems (filtered 35)
[error] * abstract method ValOrDefDefMethods()scala.quoted.Quotes#reflectModule#ValOrDefDefMethods in interface scala.quoted.Quotes#reflectModule does not have a correspondent in other version
[error] filter with: ProblemFilters.exclude[DirectMissingMethodProblem]("scala.quoted.Quotes#reflectModule.ValOrDefDefMethods")
[error]
[error] Filers in MiMaFilters.Scala3Library are used in this check
[error]
[error] stack trace is suppressed; run last scala3-library-bootstrapped / mimaReportBinaryIssues for the full output
[error] (scala3-library-bootstrapped / mimaReportBinaryIssues) Failed binary compatibility check against org.scala-lang:scala3-library_3:3.3.0! Found 1 potential problems (filtered 35)
```
More documentation is available in `MiMaFilters.Scala3Library`.
Refactored filter lists to strengthen TastyCore and Interfaces to use
separate backward and forwards lists. Also extracted the
Scala2LibraryBootstrappedMiMaFileters to reduce noise in the MiMaFilter
files.File tree
3 files changed
+354
-298
lines changed- project
3 files changed
+354
-298
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
534 | | - | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
535 | 537 | | |
536 | 538 | | |
537 | 539 | | |
| |||
1115 | 1117 | | |
1116 | 1118 | | |
1117 | 1119 | | |
1118 | | - | |
1119 | | - | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
1120 | 1123 | | |
1121 | 1124 | | |
1122 | 1125 | | |
| |||
2102 | 2105 | | |
2103 | 2106 | | |
2104 | 2107 | | |
| 2108 | + | |
| 2109 | + | |
| 2110 | + | |
| 2111 | + | |
| 2112 | + | |
| 2113 | + | |
| 2114 | + | |
| 2115 | + | |
| 2116 | + | |
2105 | 2117 | | |
2106 | 2118 | | |
2107 | 2119 | | |
| |||
2166 | 2178 | | |
2167 | 2179 | | |
2168 | 2180 | | |
2169 | | - | |
2170 | | - | |
| 2181 | + | |
| 2182 | + | |
| 2183 | + | |
2171 | 2184 | | |
2172 | 2185 | | |
2173 | 2186 | | |
| |||
2181 | 2194 | | |
2182 | 2195 | | |
2183 | 2196 | | |
2184 | | - | |
| 2197 | + | |
| 2198 | + | |
| 2199 | + | |
2185 | 2200 | | |
2186 | 2201 | | |
2187 | 2202 | | |
| |||
0 commit comments