diff --git a/CHANGELOG.md b/CHANGELOG.md index 71afa2d..1e75263 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ ## 0.4.1 -- Updated dependencies. +- Updated dependencies (analyser `^7.0.0`). ## 0.4.0 - Require Dart 3, diff --git a/example/test_types/lib/src/sqlite_type.dart b/example/test_types/lib/src/sqlite_type.dart index 03a7bd1..8a50efa 100755 --- a/example/test_types/lib/src/sqlite_type.dart +++ b/example/test_types/lib/src/sqlite_type.dart @@ -1,6 +1,4 @@ -/// Enum symbolizing valid Sqlite types. // ignore_for_file: constant_identifier_names - enum SqliteType { INTEGER('INTEGER'), BOOL('INTEGER'), diff --git a/lib/src/extensions/generic_reader.dart b/lib/src/extensions/generic_reader.dart index c73d54c..e693dcc 100644 --- a/lib/src/extensions/generic_reader.dart +++ b/lib/src/extensions/generic_reader.dart @@ -134,7 +134,9 @@ extension GenericReader on ConstantReader { if (!isMatch( dartTypeArgs[i], typeArgs[i].reflectedType, - )) return false; + )) { + return false; + } } // Store fully resolved types. _resolvedTypes[dartType] = type; diff --git a/pubspec.yaml b/pubspec.yaml index 7cc75ef..fdc7025 100755 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -7,18 +7,24 @@ version: 0.4.1 homepage: https://github.com/simphotonics/generic_reader +topics: + - analyzer + - build + - constant-expression + - source_gen + environment: sdk: '^3.0.0' dependencies: - analyzer: ^6.3.0 - exception_templates: ^0.3.0 - source_gen: ^1.4.0 + analyzer: ^7.0.0 + exception_templates: ^0.3.1 + source_gen: ^2.0.0 dev_dependencies: - ansi_modifier: ^0.1.1 - lints: ^3.0.0 - source_gen_test: ^1.0.4 - test: ^1.24.9 + ansi_modifier: ^0.1.4 + lints: ^5.1.1 + source_gen_test: ^1.1.1 + test: ^1.25.14 test_types: path: example/test_types