Open magnus-madsen opened 2 weeks ago
For example, I was able to replace this:
case ex: ##java.io.IOException =>
import java.lang.Throwable.getMessage(): String \ IO;
Err(Generic(getMessage(checked_cast(ex))))
by this
case ex: ##java.io.IOException =>
Err(Generic(ex¤getMessage()))
We can start to refactor
Files.flix
to use the new Java constructs.This will increase our confidence that they are usable.
For example, we can already use
InvokeMethod2
to simplify a function likecopyOver
.At the very end, we will replace the currency symbol by the chosen syntax and we can merge it.