Coder Social home page Coder Social logo

Dart Compiler fail about sdk HOT 7 CLOSED

normcf avatar normcf commented on September 22, 2024
Dart Compiler fail

from sdk.

Comments (7)

fishythefish avatar fishythefish commented on September 22, 2024 1

-137438953473 is 0b1111111111111111111111111101111111111111111111111111111111111111. That's a bit flip from -1, which is how TreeNode.noOffset is encoded. If you try a fresh build and this problem doesn't reoccur, it might have just been a memory error that got persisted.

from sdk.

biggs0125 avatar biggs0125 commented on September 22, 2024

Hi, sorry you've run into this issue.

Would you be able to provide a bit more context on the app you're running and your build environment? For example, are you passing any additional flags to the Dart web compiler?

Also this isn't always possible but if you could share the code for the app you're running or a snippet that demonstrates this behavior, that would be great. Thanks!

from sdk.

normcf avatar normcf commented on September 22, 2024

command line:
nice dart run build_runner build --define "build_web_compilers|entrypoint=compiler=dart2js" -o web:build

from sdk.

normcf avatar normcf commented on September 22, 2024

from sdk.

normcf avatar normcf commented on September 22, 2024

I did some work, which required to go back to the dev compiler. I did not change any dart code. I made some back end php changes. Finally, I started a dart compile and this time it succeeded. It may have just been luck in some compile order, but it finished successfully. Do you want to keep this open? Or should we close and start a new issue if it recurs?

from sdk.

fishythefish avatar fishythefish commented on September 22, 2024

I'll close this for now. It's hard for us to do anything without some kind of consistent repro to work with. I think the bit flip explanation is plausible, but if this issue starts reoccurring consistently, feel free to reopen or file a new issue.

from sdk.

normcf avatar normcf commented on September 22, 2024

Thanks. Also, if this is a real issue, there will be other people experiencing it and will give more clues. I will comment more if it happens again.

from sdk.

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.