Closed
Description
This issue is a generalisation of recent PR #8090, aiming to cover gaps in symbol generation that are not immediately relevant to that change. That change enables the generation of method symbols, including method parameters as consequence.
Remaining symbols the Tasty API should be able to generate are:
- symbols for local
val
s (includingvar
s, etc) - symbols for pattern binds
- symbols for local classes / objects / etc
Several of these kinds of symbols can be hacked into existence by stealing them from quotes, but this means we can't directly control things like names, flags (and location information?). Especially since we now have Symbol.newMethod
, it would be strange not to at least support val
s and pattern binds. Local classes may be more complicated, so I will be experimenting with those last.
I'll be writing up any ideas / progress here for comment.