The message for MISSING_ANNOTATION_ON_STRUCT_FIELD could be improved #48256
Labels
analyzer-ux
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P3
A lower priority bug or feature request
The problem message for
FfiCode.MISSING_ANNOTATION_ON_STRUCT_FIELD
could be improved. In a review with the FFI team, we agreed on the following message: "Fields of type '{0}' in a subclass of '{1}' must have an annotation indicating the native type.".This might require some reworking of the
FfiVerifier
in order to make the two argument values available in the scope where the diagnostic is generated.The text was updated successfully, but these errors were encountered: