Skip to content

[crash] Analyzer Feedback from IntelliJ #30595

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

Closed
alsemenov opened this issue Sep 1, 2017 · 1 comment
Closed

[crash] Analyzer Feedback from IntelliJ #30595

alsemenov opened this issue Sep 1, 2017 · 1 comment
Assignees
Labels
legacy-area-analyzer Use area-devexp instead. P1 A high priority bug; for example, a single project is unusable or has many test failures type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@alsemenov
Copy link
Contributor

Analyzer Feedback from IntelliJ

Version information

  • IDEA IC-172.3757.52
  • 1.24.2
  • IC-172.3757.52, JRE 1.8.0_152-release-915-b10x64 JetBrains s.r.o, OS Windows 7(amd64) v6.1 Service Pack 1, screens 1920x1080

Exception

report2.txt

File that cause the crash

import "dart:async";

typedef F1 = Stream<T> Function<T>(Iterable<T> values);
typedef F2 = Stream<T> Function<T>(Iterable<T> values, {bool Function(T element) isError});
typedef F3 = Stream<T> Function<T>(Iterable<T> values, {bool isError(T element)});
typedef Stream<T> F4<T>(Iterable<T> values);
typedef Stream<T> F5<T>(Iterable<T> values, {bool isError(T element)});

void test1(F1 f) {}
void test2(F2 f) {}
void test3(F3 f) {}
void test4(F4 f) {}
void test5(F5 f) {}

int main() {
  test1(null);
}
@bwilkerson bwilkerson added legacy-area-analyzer Use area-devexp instead. P1 A high priority bug; for example, a single project is unusable or has many test failures type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) labels Sep 1, 2017
@jmesserly jmesserly self-assigned this Sep 16, 2017
@jmesserly
Copy link

This is working now. I believe it was fixed when I landed support for resolving the new syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy-area-analyzer Use area-devexp instead. P1 A high priority bug; for example, a single project is unusable or has many test failures type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

3 participants