Giter Site home page Giter Site logo

Comments (13)

kevmoo avatar kevmoo commented on September 3, 2024

CC @isoos

from pana.

kevmoo avatar kevmoo commented on September 3, 2024

Likely a pkg/analyzer issue – keeping this for tracking

from pana.

kevmoo avatar kevmoo commented on September 3, 2024

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.

kevmoo avatar kevmoo commented on September 3, 2024

Also w/ pkg/linter @ 0.1.39

from pana.

isoos avatar isoos commented on September 3, 2024

Also w/ pkg/linter

Also gets fixed with the bleeding edge SDK?

from pana.

kevmoo avatar kevmoo commented on September 3, 2024

Also gets fixed with the bleeding edge SDK?

Not sure.

from pana.

isoos avatar isoos commented on September 3, 2024

I the linter's case there was something in-between 0.1.34 and 0.1.35 that triggers the error.

from pana.

isoos avatar isoos commented on September 3, 2024

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.

kevmoo avatar kevmoo commented on September 3, 2024

@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.

isoos avatar isoos commented on September 3, 2024

can't we just depend on the 0.31.0-alpha.2 directly?

from pana.

kevmoo avatar kevmoo commented on September 3, 2024

It'll blow up w/ a dependency conflict w/ pkg/test

Need to use a dependency override

from pana.

kevmoo avatar kevmoo commented on September 3, 2024

Can't do anything until we can publish a version that depends on a ^0.31.0 gold release of analyzer.

from pana.

isoos avatar isoos commented on September 3, 2024

Closing this here, as the pubspec.yaml is already updated (although not yet published).

from pana.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.