-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
area:doctoolarea:tasty-inspectorissues relating to the TASTy inspectorissues relating to the TASTy inspectoritype:bugregressionThis worked in a previous version but doesn't anymoreThis worked in a previous version but doesn't anymorestat:fixed in nextThe issue was fixed in Next and only still applies to LTS.The issue was fixed in Next and only still applies to LTS.
Milestone
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
Metadata
Metadata
Labels
area:doctoolarea:tasty-inspectorissues relating to the TASTy inspectorissues relating to the TASTy inspectoritype:bugregressionThis worked in a previous version but doesn't anymoreThis worked in a previous version but doesn't anymorestat:fixed in nextThe issue was fixed in Next and only still applies to LTS.The issue was fixed in Next and only still applies to LTS.