Comments (9)
from sdk.
from sdk.
@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 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.
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.
It was consistent for me, but I think I could imagine it being intermittent.
from sdk.
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 forbar.dart
that produces this error (because the filebar.dart
doesn't exist) - delete the export from
foo.dart
- create the file
bar.dart
- add the export of
bar.dart
back intofoo.dart
(specifically so that the filefoo.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.
#53683 is the issue I was thinking of which was believed to be fixed (maybe @scheglov has ideas).
from sdk.
Thanks! If there is anything I can do to help please LMK
from sdk.
Related Issues (20)
- textDocument/completion payload sizes can be very large because of documentation of in-scope items HOT 7
- Dart cannot open a socket on Android device, not simulator HOT 6
- stdin stream closes unexpectedly when Dart program is spawned from a bat file (which is spawned by a NodeJS process) and an msys2 program has been run earlier in the bat file HOT 1
- vm/cc/DartAPI_BreakpointLockRace flaky -> Timeout on vm-linux-debug-x64c HOT 1
- Crash on new ffi/msan_test on ARM64 MSAN configurations
- Set-Cookie path should not be case-insensitive
- Provide a compatible method to conditionally import between WASM and regular Web with also backward compatibility HOT 5
- [resource_identifiers] closures out of static functions
- pkg/json breaks when a field name contains $ HOT 2
- [vm/ffi] `Pointer.asTypedList` shared across isolates causes use after free
- WASM incorrectly advertises dart.library.js HOT 2
- CFE fails to notice record field name differences when performing subtype matches HOT 1
- extension type on a Function named call HOT 7
- Invalid fixes being suggested
- Add a fix to create an extension method
- How should I load JS libraries from within WASM? HOT 2
- Macros: Failure to compile redirecting factories HOT 2
- [resource_identifiers] Rename to recorded_references. HOT 1
- [native_assets][resource_identifiers] Deferred loading and assets HOT 2
- Dart WebSocket Connection to webserver Exhibits Inconsistent Behavior and Premature Closure HOT 3
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 sdk.