4 ms·
I am not sure whether it is still the case, but the Scala compiler used to have a dependency on Swing. The reason was that one of the potent -Y flags gave you a
by psuter 13y ago
I am not sure whether it is still the case, but the Scala compiler used to have a dependency on Swing. The reason was that one of the potent -Y flags gave you access to an AST browser after the phase of your choice. Very convenient tool for compiler plugin developers, but a questionable dependency for most.
(Edit: seems to have been taken away at least as of 2.10)
- jfim 13y agoscalac -Ybrowse:typer Foo.scala still works on 2.10.3. It's also pretty convenient when writing macros, not only for compiler plugin developers.