meta_expression 0.2.1
meta_expression: ^0.2.1 copied to clipboard
A meta-expression is one of a kind of (code generator-based) macros.
We analyzed this package 11 hours ago, and awarded it 70 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting meta_expression... Discovering libraries... ERR: dartdoc 9.0.1 (/home/worker/dartdoc/build/dartdoc) failed: fatal error: unable to locate the input directory at '/tmp/analyzerAKKRDW/pub-cache/hosted/20260203t095200-dot-dartlang-pub.appspot.com/[...] #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:218) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:205) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:82) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:199) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:282)
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:meta_expression/builder.dartthat imports:package:meta_expression/src/_internal/remote_instance.dartthat imports:dart:isolate
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 38 issues. Showing the first 2:
ERROR: The method 'item2' can't be unconditionally invoked because the receiver can be 'null'.
lib/builder.dart:44:14
╷
44 │ instance.item2();
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/builder.dart
ERROR: Undefined class 'FunctionElement'.
lib/src/_internal/annotation_analyzer.dart:10:9
╷
10 │ final FunctionElement _function;
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/_internal/annotation_analyzer.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
any |
94.0.0 | 94.0.0 | |
analyzer |
any |
10.0.2 | 10.0.2 | |
build |
any |
4.0.4 | 4.0.4 | |
dart_style |
any |
3.1.5 | 3.1.5 | |
logging |
any |
1.3.0 | 1.3.0 | |
meta_expression_annotation |
^0.2.1 |
0.2.1 | 0.2.1 | |
path |
any |
1.9.1 | 1.9.1 | |
source_gen |
any |
4.2.0 | 4.2.0 | |
source_helper |
any |
1.3.10 | 1.3.10 | |
source_span |
any |
1.10.1 | 1.10.1 | |
tuple |
any |
2.0.2 | 2.0.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
meta |
- | 1.18.1 | 1.18.1 | |
package_config |
- | 2.2.0 | 2.2.0 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
watcher |
- | 1.2.1 | 1.2.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 14 errors:
UNCHECKED_USE_OF_NULLABLE_VALUE-lib/builder.dart:44:14- The method 'item2' can't be unconditionally invoked because the receiver can be 'null'.ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/builder.dart:236:18- The argument type 'List<LibraryElement?>' can't be assigned to the parameter type 'ListUNCHECKED_USE_OF_NULLABLE_VALUE-lib/src/_internal/library_transformer.dart:37:30- A nullable expression can't be used as an iterator in a for-in loop.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.8, Dart 3.10.8.
Check the analysis log for details.