mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 01:45:06 +00:00
a855030120
C compilers don't enforce nesting rules. `dart:ffi` was enforcing these rules causing issues for binding to C libraries having looser packing for nested structs than outer structs. This CL completely removes the error from the analyzer and CFE. (As an alternative we could have kept a hint/lint, but this might create more noise than value.) TEST=pkg/analyzer/test/src/diagnostics/packed_nesting_non_packed_test.dart Closes: https://github.com/dart-lang/sdk/issues/46644 Change-Id: Iae2d5c885546f7799bc6dea2f8cd7dd508216a0c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/247382 Commit-Queue: Daco Harkes <dacoharkes@google.com> Reviewed-by: Aske Simon Christensen <askesc@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
test | ||
testcases/transformations | ||
tool | ||
analysis_options.yaml | ||
LICENSE | ||
OWNERS | ||
pubspec.yaml | ||
README.md |
This package hosts VM specific Dart code and helper scripts.