2f0b352e98
This makes it a compile-time error to add @FfiNative annotation to any non-static function, such as an instance method. TEST=tests/ffi/ffi_native_test.dart,pkg/analyzer/test/src/diagnostics/ffi_native_test.dart Bug: https://github.com/dart-lang/sdk/issues/43889 Change-Id: Ib9ec61345bb47e735ed635c5ceea15ab643f65a6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207306 Commit-Queue: Clement Skau <cskau@google.com> Reviewed-by: Tess Strickland <sstrickl@google.com>
FE/analyzer shared code
This package contains logic that is shared between the front_end and analyzer packages. It is intended solely to facilitate development of the Dart SDK, and is not intended for use by end users. In particular, this package has no public API, so no guarantee is made of compatibility between one version of the package and the next.
End users should consider using the analyzer package to analyze Dart source code.