-
Hi, I need to get the constant name from the different types of constant nodes: ConstantWriteNode, ConstantPathNode, ConstantReadNode, ConstantPathWriteNode. It's different for all of them, but there seem to be some especially strange inconsistencies. For example, why does Why does |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
cc @kddnewton (not sure how notifications for discussions work by default) |
Beta Was this translation helpful? Give feedback.
-
The
|
Beta Was this translation helpful? Give feedback.
-
I'm not sure if I answered all of your questions, feel free to ask more. |
Beta Was this translation helpful? Give feedback.
@exterm yeah as mentioned, I'd be happy to support
full_name
onConstantWriteNode
. Do you want to open a PR for that?I would be amenable to marker interfaces, which should work with Sorbet. That's been discussed a bit here: #2092 and I think this is something we're going to implement sometime this year.