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

Improve error message for 'with' as a param name #17056

Closed
stevemessick opened this issue Feb 23, 2014 · 5 comments
Closed

Improve error message for 'with' as a param name #17056

stevemessick opened this issue Feb 23, 2014 · 5 comments
Labels
analyzer-recovery analyzer-ux area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. closed-obsolete Closed as the reported issue is no longer relevant P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug

Comments

@stevemessick
Copy link
Contributor

If I use "with" as a name for a named argument, I get many errors. But non of them tells me why it is a problem to use "with" as a name: It is a reserved word!
////////////////////////////////////////////////////////////////////////////////////
Editor: 1.2.0.dev_05_12 (2014-02-20)
OS: Windows 8 - amd64 (6.2)
JVM: 1.7.0_21

projects: 2

open dart files: 3

auto-run pub: true
localhost resolves to: 127.0.0.1
mem max/total/free: 1778 / 766 / 233 MB
thread count: 38
index: 602175 relationships in 117459 keys in 1536 sources

SDK installed: true
Dartium installed: true

@bwilkerson
Copy link
Member

We need to do a better job of recovering from the error (longer term), but we also need to provide a better error message (shorter term).


Removed this from the 1.3 milestone.
Added this to the 1.4 milestone.
Added Analyzer-UX, Analyzer-Recovery labels.

@kasperl
Copy link

kasperl commented May 8, 2014

Removed this from the 1.4 milestone.
Added this to the 1.5 milestone.

@bwilkerson
Copy link
Member

Removed this from the 1.5 milestone.
Added this to the Later milestone.
Removed Type-Defect label.
Added Type-Enhancement label.

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the Later milestone.
Added Oldschool-Milestone-Later label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-Later label.

@stevemessick stevemessick added Type-Enhancement area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. analyzer-ux analyzer-recovery labels Aug 4, 2014
@kevmoo kevmoo added P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug and removed triaged labels Mar 1, 2016
@bwilkerson bwilkerson removed their assignment Aug 15, 2016
@matanlurey matanlurey added the closed-obsolete Closed as the reported issue is no longer relevant label Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-recovery analyzer-ux area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. closed-obsolete Closed as the reported issue is no longer relevant P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

5 participants