This has the side-effect that it re-creates compilation units every time we ask for hyperlinks. Template compilation units cache the generated Scala sources mostly for speeding up hyperlinking. With this change, hyperlinking will re-compile the template source every time (try to ctrl-hover around a template file). Can we try to keep the editor logic in place (since editors will for sure have a compilation unit that we can reuse?), and fall back to this costly operation otherwise?