This is a simple while practical solution to the hygiene problem: it still allows programmers to do the hack if scala.gestalt.options.unsafe is imported. By default, only fully-qualified name or symbol-based name is supported.
When scala supports literal types, we can do better with the API:
def Ident(name: "_root_"): Tree
def Ident(name: "scala")(implcit dummy: C): Tree
This is a simple while practical solution to the hygiene problem: it still allows programmers to do the hack if
scala.gestalt.options.unsafe
is imported. By default, only fully-qualified name or symbol-based name is supported.When scala supports literal types, we can do better with the API: