Closed
Description
Based on OpenCB failure in akka/akka-http https://github.com/VirtusLab/community-build3/actions/runs/5557868276/jobs/10152257798
Compiler version
3.3.2-RC
Works in 3.3.1-RC4
Bisect results:
Last good release: 3.3.2-RC1-bin-20230615-916d4e7-NIGHTLY
First bad release: 3.3.2-RC1-bin-20230619-a68568c-NIGHTLY
The commit-based bisect fails due to an errors when publishing compiler
Minimized code
Fails only when compiling with scaladoc, compiles correctly in standard compilation
//> using option -release:8
object Foo {
@Deprecated
def foo(): Unit = ???
}
Output
-- Error: main.scala:4:4 -------------------------------------------------------
4 | @Deprecated
| ^^^^^^^^^^^
|wrong number of arguments at <no phase> for (since: String, forRemoval: Boolean): Deprecated: (Deprecated#<init> : (since: String, forRemoval: Boolean): Deprecated), expected: 2, found: 0
1 error found
Expectation
Should compile