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

Assert doesn't autocomplete in constructor initializer #1101

Closed
xster opened this issue Jun 9, 2017 · 4 comments
Closed

Assert doesn't autocomplete in constructor initializer #1101

xster opened this issue Jun 9, 2017 · 4 comments

Comments

@xster
Copy link
Member

xster commented Jun 9, 2017

Consider

A({
  bool a,
  this.b
}) : assert( <- autocomplete here

No options appear though both a and b are valid choices.

@pq
Copy link
Contributor

pq commented Jun 9, 2017

Good catch!

@danrubel : have you looked at this case?

@pq
Copy link
Contributor

pq commented Oct 18, 2017

Confirmed this is still an issue.

image

/cc @danrubel

@danrubel
Copy link

I've been swamped with CFE work and have not had time to dig into this yet.

@pq pq added the completion label Feb 1, 2018
@scheglov scheglov self-assigned this Feb 9, 2018
@scheglov
Copy link
Contributor

scheglov commented Feb 9, 2018

https://dart-review.googlesource.com/c/sdk/+/40472

dart-bot pushed a commit to dart-lang/sdk that referenced this issue Feb 12, 2018
R=brianwilkerson@google.com, danrubel@google.com

Bug: flutter/flutter-intellij#1101
Change-Id: Id17a701cac0e98afc373cf89089916cf5f983cff
Reviewed-on: https://dart-review.googlesource.com/40472
Reviewed-by: Dan Rubel <danrubel@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants