Skip to content

Commit f90097d

Browse files
committed
Merge branch 'main' into gh835
2 parents c1247ac + ecb8b7e commit f90097d

32 files changed

+2162
-1525
lines changed

pkgs/ffigen/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
- If you don't use listener blocks, you can ignore the .m file.
1313
- You can choose where the generated .m file is placed with the
1414
`output.objc-bindings` config option.
15+
- __Breaking change__: Enums are now generated as real Dart enums, instead of
16+
abstract classes. Since Dart enums cannot be empty, empty native enums are
17+
generated as empty sealed classes. Native enum members with duplicate integer
18+
values are handled properly, and are equal to each other in Dart as well.
1519
- Rename ObjC interface methods that clash with type names. Fixes
1620
https://github.com/dart-lang/native/issues/1007.
1721

pkgs/ffigen/analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ analyzer:
1515
- example/objective_c/**
1616
- example/swift/**
1717
- test_flutter/native_objc_test/**
18+
- test/native_objc_test/**
1819
language:
1920
strict-casts: true
2021
strict-inference: true

0 commit comments

Comments
 (0)