ghostbuster91 / scalafix-unified

5 stars 2 forks source link

Add support for `Seq` #2

Open ghostbuster91 opened 2 years ago

ghostbuster91 commented 2 years ago

Currently val a: Seq[Int] = Nil will be rewritten to val a: Seq[Int] = List.empty which compiles but it is not ideal.

It would be better to rewrite it to val a: Seq[Int] = Seq.empty