Coder Social home page Coder Social logo

Comments (9)

a-siva avatar a-siva commented on July 2, 2024

@DanTup

from sdk.

bwilkerson avatar bwilkerson commented on July 2, 2024

@scheglov

from sdk.

DanTup avatar DanTup commented on July 2, 2024

@matanlurey do you have exact steps to reproduce this? I tried what I think you're doing, but wasn't able to repro (the red squiggle is just missing semicolon).

uri.mp4

Capturing a server log might be useful too.

from sdk.

matanlurey avatar matanlurey commented on July 2, 2024

@matanlurey do you have exact steps to reproduce this? I tried what I think you're doing, but wasn't able to repro (the red squiggle is just missing semicolon).

uri.mp4
Capturing a server log might be useful too.

Other way around, create the zone.dart from the menu.

from sdk.

DanTup avatar DanTup commented on July 2, 2024

Ah, thanks - I managed to repro it a few times intermittently, but each time was after I deleted and re-used the same filename. I'm not sure if that's coincidence or not - do you know if this is the same for you (did you delete the file once before it happened)?

(I suspect it's coincidence, but since it's intermittent for me and only happened after that, it'd be good to know if that might be a requirement)

from sdk.

matanlurey avatar matanlurey commented on July 2, 2024

It was consistent for me, but I think I could imagine it being intermittent.

from sdk.

DanTup avatar DanTup commented on July 2, 2024

Ok, I think I might be seeing the error only when I've been in that state previously before. It might be coincidence, but I can reliably reproduce it by:

  • create the file (foo.dart) with an export for bar.dart that produces this error (because the file bar.dart doesn't exist)
  • delete the export from foo.dart
  • create the file bar.dart
  • add the export of bar.dart back into foo.dart (specifically so that the file foo.dart is exactly as it was before when it had the error)

@scheglov @bwilkerson do we cache the diagnostics in any way? Could it be that restoring the file to how it was before is getting the old diagnostics (eg. something isn't being flushed correctly when a file is created?). This sounds a little familiar like we may have discussed this before..!

from sdk.

DanTup avatar DanTup commented on July 2, 2024

#53683 is the issue I was thinking of which was believed to be fixed (maybe @scheglov has ideas).

from sdk.

matanlurey avatar matanlurey commented on July 2, 2024

Thanks! If there is anything I can do to help please LMK

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.