Macros: Expose to FormalParameter
whether a field is final
or not.
#55764
Labels
area-fe-analyzer-shared
Assigned by engineers; when triaging, prefer either area-front-end or area-analyzer.
cfe-feature-macros
Implement macros features in the CFE
feature-macros
Implementation of the macros feature
pkg-macros
The experimental package:_macros library
Hello!
Function parameters can be optionally declared as
final
. This is useful information for macros. For example, Freezed relies on it to know if the associated generated field needs to befinal
orvar
.Would it be possible to list it?
I'm aware about
FormalParameter.code.keywords
, but this only listsrequired
The text was updated successfully, but these errors were encountered: