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

Pub / Args / Defining options / Unterminated string in example #29

Closed
DartBot opened this issue Jun 5, 2015 · 3 comments
Closed

Pub / Args / Defining options / Unterminated string in example #29

DartBot opened this issue Jun 5, 2015 · 3 comments
Assignees

Comments

@DartBot
Copy link

DartBot commented Jun 5, 2015

Originally opened as dart-lang/sdk#19106

This issue was originally filed by Neta...@gmail.com


URL: https://pub.dartlang.org/packages/args

This following code sample is missing a terminating quote mark.
Copying it -as is- into Dart Editor results in an syntax error.

CURRENT
parser.addOption('mode', callback: (mode) => print('Got mode $mode));

REVISION
parser.addOption('mode', callback: (mode) => print('Got mode $mode'));

See screenshot.


Attachment:
args_definingOptions.jpg (121.31 KB)

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/2164483?v=3" align="left" width="48" height="48"hspace="10"> Comment by kwalrath


Removed Area-Documentation, Type-Defect labels.
Added Area-Pkg, Type-Documentation, Pkg-Args labels.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent


Set owner to @munificent.
Added Started label.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent


Added Fixed label.

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

2 participants