using_directives
parser crashes on */*/Foo.scala
#3374
Labels
--exclude
Issues tied with the excluding inputs.
bug
Something isn't working
using directives
Issues tied with using directives.
Version(s)
1.5.4
Describe the bug
Using a nested wildcard (
*/*/...
) inexclude
directive results in a crash caused byjava.lang.ArrayIndexOutOfBoundsException
To Reproduce
Having the following project structure:
//> using exclude */*/Foo.scala
Try to compile the project:
scala-cli compile .
Expected behaviour
Should not crash. Also the invalid file
Foo.scala
should be excluded from compilation sources and the compilation should succeedThe text was updated successfully, but these errors were encountered: