Skip to content
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

I see RequestError for a certain source. #3103

Open
srawlins opened this issue Dec 6, 2024 · 1 comment
Open

I see RequestError for a certain source. #3103

srawlins opened this issue Dec 6, 2024 · 1 comment

Comments

@srawlins
Copy link
Member

srawlins commented Dec 6, 2024

When I put in this code, I see a RequestError at the bottom:

import 'dart:async';

void f<X extends FutureOr<X>>(X x) {
  x.asStream(); // A member from the interface of `Future`.
  x.whatever; // A non-member of all classes nearby.
}

void main() {}

If I comment out both statements in f, the error disappears.

The text of the error is not copy-pastable 🤔 but I can screenshot it.

Screenshot 2024-12-06 at 2 27 33 PM
@srawlins
Copy link
Member Author

srawlins commented Dec 6, 2024

Ah, on the command line, this code causes the analyzer to stack-overflow, so...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant