-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P1A high priority bug; for example, a single project is unusable or has many test failuresA high priority bug; for example, a single project is unusable or has many test failureslegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.library-ffi
Description
In the Flutter engine we saw an NPE in the analyzer package when running Dartdoc on the FFI native function bindings
(example: https://ci.chromium.org/ui/p/flutter/builders/try/Linux%20docs_test/10279/overview)
This happens when the analyzer checks an FfiNative annotation applied to a getter.
FfiVerifier._checkFfiNative assumes that every MethodDeclaration has parameters and needs a special case for methods with the isGetter flag.
Metadata
Metadata
Assignees
Labels
P1A high priority bug; for example, a single project is unusable or has many test failuresA high priority bug; for example, a single project is unusable or has many test failureslegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.library-ffi