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
It's awesome that you found them useful and I'm happy that they're in use :-)
It looks like you're on to something where we need to add a guard against being a using (something like _.is[Mod.Using]). Could you look into it and create a PR for it?
Thank you for these rules, it makes the migration to new Scala 3 syntax a lot simpler!
I've found that the
GivenAndUsing
rule can produce invalid syntax when existing code is already passing ausing
param explicitly.For example given this code:
The
GivenAndUsing
rule rewrites it to this:I'm guessing something around here needs to check whether there's already a
using
keyword?The text was updated successfully, but these errors were encountered: