Allow to chain conversions
See original GitHub issueFor use-cases similar to the one mentioned here it would be nice if (implicit) convert()
calls could be chained like so: .convert { File(it).expandTilde().path }.file()
As this seems to be a serious breaking change, I wonder if things would be easier if another function, like changeValue()
, would be introduced for this purpose that is not allowed to change the type.
In any case, it’s misleading currently that something like .convert { File(it).expandTilde().path }.file()
compiles and runs, but silently ignores the first (explicit) conversion. Can we throw an exception if an existing conversion gets replaced?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Sportster Chain Conversion: Pros and Cons - YouMotorcycle
A Sportster chain drive conversion can give you some performance benefits, but not as much as many think. These are all the pros...
Read more >Sportster Chain Drive Conversion Pros and Cons - YouTube
A Sportster chain drive conversion can give you some performance benefits, but not as much as many think. These are all the 7...
Read more >Chain Conversion or Keep the Belt on the Harley-Davidson ...
We'll explore the reasons for a chain drive conversion on the Sportster and how it compares to the factory belt drive system.
Read more >Fuel Moto Chain Drive Conversion Kit for Harley Davidson ...
Following my 2020 Harley Davidson Street Glide Special build series - in this video I install a Fuel Moto Chain Drive Conversion Kit...
Read more >Chaining implicit conversion operators - c++ - Stack Overflow
The complier will only perform one implicit conversion automatically. Normally implicit conversions are best avoided - they tend to make code ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Good catch; I updated the changelog and release notes.
I was was thinking the same thing; the expansion was a bit of a hack.