I have my own FIR-based parser, and during the upg...
# compiler
j
I have my own FIR-based parser, and during the upgrade from 2.1.10 to 2.1.20 I'm losing my ability to read function parameter names. Before I was pulling it out of the customAnnotations, but that is now empty on the ConeLikeClassType (or whatever it's called), as well as the entire type attributes being empty. I started trying to look at the regular compiler but can't find anything relevant.
b
Parameter name moved to a new attribute:
ParameterNameTypeAttribute
. Should be able to use one of these utilities to get access to the name again. You mention the types attributes being empty; is that to say that
CustomAnnotationTypeAttribute
has no annotations? Or that there are no cone attributes at all?
j
Ah, yep. I got it now. Was half user-error and half... more user-error simple smile
Those helpers are very convenient. Thanks!
👍 2