-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Server error: "Missing implementation of visitFunctionExpression" #53075
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
CC @kallentu , looks like a bug specific to const constructor asserts; you probably have the freshest notion of this code :) |
I looked into what makes the difference between const and non-consting that constructor and it's the call of this line:
And all this happens without ever entering the constant evaluator, so I suspect @scheglov might have more context on this? The |
Hi, Any Workaround for this issue? The dart analyser keeps failing and the auto complete feature in Android Studio for Flutter seems to fail with it in classes where const constructor and assert are used and referenced |
@scheglov can you look at this? |
@srawlins I can take a go at fixing this. I was taking a look at it yesterday. |
We might need to use |
Raised at Dart-Code/Dart-Code#4666, I was able to reduce it to this (it seems to require
const
on the constructor and the function call in theassert
):It causes the server to terminate with the following in the log:
I'm not sure why the calls tack is truncated, but below is a screenshot of it in the debugger (I couldn't dump it as text, sorry).
(@scheglov FYI)
The text was updated successfully, but these errors were encountered: