Re: Failure should probably extend Try[Nothing], as shown in first lecture of Principles of Reactive Programming
Samuel Grütter <[email protected]>
| Newsgroups | gmane.comp.lang.scala |
|---|---|
| Message-ID | <CAMGVCjzjTDGcxTeJHvQkHwO0RK+1qN-MixRRT=R1LmAYn=Sx0A@mail.gmail.com> |
On Fri, May 15, 2015 at 10:42 AM, Rex Kerr <[email protected]> wrote: > > But the converter has to be based on scalac, because it has to parse Scala 2.11 code, and dotc doesn't do that. > Exactly. > > On Fri, May 15, 2015 at 1:19 AM, Simon Schäfer <[email protected]> wrote: >> >> >> In the IDE we use scalac's trees everywhere and we only have problems with it. >> On Fri, May 15, 2015 at 10:35 AM, Mirko Stocker <[email protected]> wrote: > Oh, interesting. I wonder if you've looked at scala-refactoring [1]? I know > it's not perfect, but it already has tons of workarounds for incorrect > positions and some desugaring of scalac trees (e.g. [2]). I've also had problems with scalac's trees, but I hope that scala.meta will soon provide a nice and correct API that can be used for such transformations/rewriting. That's also why I did not yet use another library. -- You received this message because you are subscribed to the Google Groups "scala-language" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.