Comments (5)
from sdk.
Nothing prevents the client from asking a InterfaceType
in one session, and then trying to work with a InterfaceType
from another session. The client should not do this, but InconsistentAnalysisException
will not help here.
from sdk.
I added some hacks to the running system, so see _id
of AnalysisSessionImpl
instance.
And they are different.
So the client code is wrong.
Use the same session to get both types.
![image](https://private-user-images.githubusercontent.com/384794/330967960-0f2ef476-618f-49a8-8d2f-b5ad4ffa8d8c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTYzMjIzOTAsIm5iZiI6MTcxNjMyMjA5MCwicGF0aCI6Ii8zODQ3OTQvMzMwOTY3OTYwLTBmMmVmNDc2LTYxOGYtNDlhOC04ZDJmLWI1YWQ0ZmZhOGQ4Yy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUyMVQyMDA4MTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iZTZiMTA4ZTY1Zjg3NGQ4NTIyOTg1MmY0MDRiMzQwM2YzMzQ4MmEyODliZDgzZDM1MTdjNzJmZDAxNDVjYzY3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.OCTKFg93MbIbCj12IqXPIIaRee8QDeHD9Eim89T1xPc)
![image](https://private-user-images.githubusercontent.com/384794/330968015-091bf648-0344-430c-bb07-bd62c844dbd1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTYzMjIzOTAsIm5iZiI6MTcxNjMyMjA5MCwicGF0aCI6Ii8zODQ3OTQvMzMwOTY4MDE1LTA5MWJmNjQ4LTAzNDQtNDMwYy1iYjA3LWJkNjJjODQ0ZGJkMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUyMVQyMDA4MTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iNTlmNzQ5YjNhODk0OWVkODBlNTBhMWEwMjNjMWMwNmMxN2E1ODc0ZmQ1YTA1YjM2NmEzOTVhNTY0ZTE5OGY5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.0q0cqCF9xCJ4XQtsKvZhSpvcncNO_cfTb9hGiHjFE0g)
from sdk.
Thank you for taking a look so quickly! And I have to apologize for filing this, from a deeper look it indeed turned out to be entirely my fault - I was setting up two analysis drivers by accident and then used results from the two drivers in the same places causing all kinds of trouble. I expected inconsistent analysis exceptions but that didn't happen because the sessions were both active in their respective drivers.
from sdk.
Glad to hear that the issue has been resolved.
from sdk.
Related Issues (20)
- SocketException: Connection reset by peer (OS Error: Connection reset by peer) HOT 6
- Analyzer Feedback from IntelliJ
- Analyser falsely reports unused function
- Building app for Linux musl? HOT 2
- MSAN use-of-uninitialized-value in FFI tests HOT 1
- Track macro dependencies at the library level for improved invalidation HOT 8
- The SDK configured in dart.flutterSdkPath is not a valid SDK folder. HOT 1
- [breaking change] Change `SecurityContext` to an `abstract final class` HOT 4
- Unhandled Exception: type '_Type' is not a subtype of type 'IBaseModel' in type cast HOT 2
- `Thread 1 is not paused` error at the end of a web test HOT 7
- 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
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.