diff --git a/pkgs/ffigen/lib/src/header_parser/parser.dart b/pkgs/ffigen/lib/src/header_parser/parser.dart index 15dc0f5e3..882e68c3f 100644 --- a/pkgs/ffigen/lib/src/header_parser/parser.dart +++ b/pkgs/ffigen/lib/src/header_parser/parser.dart @@ -12,7 +12,6 @@ import 'package:logging/logging.dart'; import '../code_generator.dart'; import '../code_generator/utils.dart'; import '../config_provider.dart'; -import '../config_provider/config_types.dart'; import '../strings.dart' as strings; import '../visitor/apply_config_filters.dart'; import '../visitor/ast.dart'; diff --git a/pkgs/ffigen/lib/src/visitor/fix_overridden_methods.dart b/pkgs/ffigen/lib/src/visitor/fix_overridden_methods.dart index d06c7db1a..62914e53f 100644 --- a/pkgs/ffigen/lib/src/visitor/fix_overridden_methods.dart +++ b/pkgs/ffigen/lib/src/visitor/fix_overridden_methods.dart @@ -130,7 +130,9 @@ class FixOverriddenMethodsVisitation extends Visitation { final (root, rootMethod) = _findRootWithMethod(node, method); // If method and rootMethod are the same kind, then there's nothing to do. if ((method.kind == ObjCMethodKind.propertyGetter) == - (rootMethod.kind == ObjCMethodKind.propertyGetter)) continue; + (rootMethod.kind == ObjCMethodKind.propertyGetter)) { + continue; + } _convertAllSubtreeMethodsToProperties(root, rootMethod); } } diff --git a/pkgs/ffigen/test/large_integration_tests/large_objc_test.dart b/pkgs/ffigen/test/large_integration_tests/large_objc_test.dart index 212f997df..58f919c54 100644 --- a/pkgs/ffigen/test/large_integration_tests/large_objc_test.dart +++ b/pkgs/ffigen/test/large_integration_tests/large_objc_test.dart @@ -14,7 +14,6 @@ import 'dart:io'; import 'package:ffigen/ffigen.dart'; import 'package:ffigen/src/code_generator/utils.dart'; -import 'package:ffigen/src/config_provider/config.dart'; import 'package:ffigen/src/config_provider/config_types.dart'; import 'package:logging/logging.dart'; import 'package:pub_semver/pub_semver.dart';