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 would be convenient if we could write this like the following, so that the -in-place and .kt pieces don't have to be repeated, and we can use a single command:
The closest thing to achieve this right now is via a config file. This doesn't give the convenience of a command line though. A sequence of anonymous arguments like in the single command you put is tricky to support, because there are some other assumptions on what the shape of anonymous arguments mean.
A better solution is to express multiple rewrites in a single command, where that command is a script in a comby DSL, which is something I've made some progress on, but unlikely to happen very very soon. You can imagine something like this, where can sequence multiple x -> y rewrites with ;
Consider the following sequence of comby re-writes used to refactor an
Option
-like data structure to just using nullable types inIt would be convenient if we could write this like the following, so that the
-in-place
and.kt
pieces don't have to be repeated, and we can use a single command:The text was updated successfully, but these errors were encountered: