Comments (13)
CC @isoos
from pana.
Likely a pkg/analyzer issue – keeping this for tracking
from pana.
Ran against pkg/analyzer (and front_end and kernel) from dart-lang/sdk@5b95582
No issue.
Wondering if this is something that has been fixed...
from pana.
Also w/ pkg/linter @ 0.1.39
from pana.
Also w/ pkg/linter
Also gets fixed with the bleeding edge SDK?
from pana.
Also gets fixed with the bleeding edge SDK?
Not sure.
from pana.
I the linter
's case there was something in-between 0.1.34 and 0.1.35 that triggers the error.
from pana.
It looks like analyzer
goes into a cycle here: https://github.com/dart-lang/sdk/blob/master/pkg/analyzer/lib/src/context/cache.dart#L812
Probably the cache entry's dependent results go into a cycle, which may be valid, but it is not guarded for re-entry there. What is the best way to get a change accepted there?
from pana.
@isoos So I checked 3 packages w/ pana @ master and then using the latest alpha analyzer
Fixes 2 out of three.
We'd have to wire up a dependency_override on the production deployment. Thoughts?
+
+dependency_overrides:
+ analyzer: 0.31.0-alpha.2
stack overflow
dart bin/main.dart angular_analyzer_plugin
- fixed!
AnalysisException: Cannot compute LIBRARY_ELEMENT
dart bin/main.dart dart2ts
- fixed!
AnalysisException: Element mismatch
dart bin/main.dart jsonx
- still broken! @ jsonx v2.0.2
from pana.
can't we just depend on the 0.31.0-alpha.2 directly?
from pana.
It'll blow up w/ a dependency conflict w/ pkg/test
Need to use a dependency override
from pana.
Can't do anything until we can publish a version that depends on a ^0.31.0
gold release of analyzer.
from pana.
Closing this here, as the pubspec.yaml is already updated (although not yet published).
from pana.
Related Issues (20)
- Pana should use `dart pub` to download and extract packages. HOT 1
- dependency-check SDK constraint semver issues w/ 3.0 dev builds? HOT 4
- pana report exceeded size threshold (44735 > 16384) HOT 2
- pana fails checking the screenshots HOT 4
- Pana unable to resolve example on pub dev, but passing locally HOT 1
- Pana should not fail to verify repo URL if it detects a malformed `pubspec.yaml`
- dart analyze fails with "Output exceeded n bytes" HOT 5
- Windows fails to validate pubspec.yaml due to unnormalized path separator HOT 1
- Pana should use --suppress-analytics instead of --no-analytics HOT 2
- In scoring report, null-safety section should be replaced by dart-3-compatible. HOT 1
- My package isn't web supported because it depends on another package that is??? HOT 5
- Dart 3 compatibility can be confusing when there are Flutter errors HOT 1
- Bad markdown in report HOT 1
- What is `dart:html_common` HOT 1
- [Question] Identify undocumented API elements. HOT 3
- Pana assumes that the git root is the package directory HOT 4
- [meta] pana standalone should be the same as pub.dev output
- Pana crashes when package:lints is not found locally. HOT 5
- Pana uses beta flutter version on pub.dev
- Flutter 3.13.0: SEVERE `dartfmt` failed.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pana.