Q package:ghc-lib-parser
QuotedNameWrongStage is an error that can happen when a
(non-top-level) Name is used at a different Template Haskell stage
than the stage at which it is bound.
Test cases: T16976z
Qualified name
A qualified name written by the user in
source code. The module
isn't necessarily the module where the thing is defined; just the one
from which it is imported. Examples are
Bar.x,
Bar.y
or
Bar.Foo. Create such a
RdrName with
mkRdrQual
Given a promoted data constructor, decide whether to print a tick to
disambiguate the namespace.
For a given module, we need to know whether to print it with a package
name to disambiguate it.
Given a
Name's
Module and
OccName, decide
whether and how to qualify it.
For a given package, we need to know whether to print it with the
component id to disambiguate it.
RunTH finished successfully; return value follows
Template Haskell return values
The server-side Template Haskell state. This is created by the StartTH
message. A new one is created per module that GHC typechecks.