Also removes an Emacs error message when jumping to a location in a file that was not previously open.
`TyThings` are defined in the `ModuleInfo` which is provided for every module that GHC knows about. Keeping the TyThings around may not be a good long-term solution; see note in `Scion.Types.DefSiteDB`. Getting the source locations for external packages must be done by using Hackage as a library.
Eventually this should be run after compiling/loading each module to update the tags database.
fixing an error.
A GHC error or warning message is now a `Note` of some `NoteKind`. Accordingly, `CompilationResult` now only contains a multiset (bag) of `Note`s instead of separate warning and error bags. GHC's `SrcSpan` is now a `Location`, which adds two more invariants: * The source of a location now specifies directly whether it is a file or something else. * File paths are always normalised to absolute paths.
`scion-load` now automatically configures a Cabal project when needed.
I.e. `library` becomes `:library`, etc.