You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the test now succeeds under separate compilation, it fails join
compilation (which happens to be tested by the legacy tests currently),
you can reproduce that by running:
dotc tests/pending/pos/i2797/Fork_1.java tests/pending/pos/i2797/Test_2.scala
This fails with:
-- Error: tests/pending/pos/i2797/Test_2.scala:4:0 -------------------------------------
4 |@Fork_1(jvmArgs = Array("I'm", "hot"))
|^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|missing argument for parameter value of constructor Fork_1: (value:
|Int, jvmArgs: Array[String]): Fork_1
Because the JavaParsers output a constructor for Fork_1 without default
values, to fix this we need JavaParsers to do something similar to
ClassfileParser#addAnnotationConstructor
0 commit comments