Skip to content

Commit

Permalink
Fix analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
liamappelbe committed Apr 15, 2024
1 parent 81c7e36 commit bc269a1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pkgs/ffigen/lib/src/config_provider/spec_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ Map<String, ImportedType> symbolFileImportExtractor(
final uniqueNamer = UniqueNamer(libraryImports.keys
.followedBy([strings.defaultSymbolFileImportPrefix]).toSet());
for (final file in (symbolFile[strings.files] as YamlMap).keys) {
final existingImports =
libraryImports.values.where((element) => element.importPath(false) == file);
final existingImports = libraryImports.values
.where((element) => element.importPath(false) == file);
if (existingImports.isEmpty) {
final name =
uniqueNamer.makeUnique(strings.defaultSymbolFileImportPrefix);
Expand Down
5 changes: 3 additions & 2 deletions pkgs/objective_c/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## 0.0.1-wip

- Move sharable code from ffigen's generated code into this package, including
ObjCObjectBase, and ObjCBlockBase, as well as the core Objective C runtime
functions (except objc_msgSend, which is library specific).
`ObjCObjectBase`, and `ObjCBlockBase`, as well as the core Objective C runtime
functions (except `objc_msgSend`, which is library specific).
- Move core ObjC classes such as `NSString` into this package.
2 changes: 1 addition & 1 deletion pkgs/objective_c/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include: package:flutter_lints/flutter.yaml

analyzer:
exclude:
tool/extra_methods.dart
- tool/extra_methods.dart
language:
strict-casts: true
strict-inference: true

0 comments on commit bc269a1

Please sign in to comment.