Open fdietze opened 5 years ago
This also crashes scalariform in import statements:
package test
import scala.collection.{
Map,
Seq,
}
Compiling with sbt yields
[warn] Scalariform parser error for /projects//src/main/scala/com/example/Test.scala: Expected identifier, but got Token(RBRACE,},58,})
Any news on this?
I made a pull request that should take care of this problem: https://github.com/scala-ide/scalariform/pull/296
While this works:
Adding a trailing comma crashes scalariform 2.10:
The same happens with trailing commas in functions: