Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1055)

Issue 10914320: change addOption callback argument from bool to Dynamic (Closed)

Created:
8 years, 3 months ago by butlermatt
Modified:
8 years, 3 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Visibility:
Public.

Description

change addOption callback argument from bool to Dynamic BUG=http://dartbug.com/5199

Patch Set 1 #

Total comments: 4

Patch Set 2 : Correct annotations and add tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -2 lines) Patch
M pkg/args/lib/args.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/args/test/args_test.dart View 1 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
butlermatt
Used Dynamic instead of string as mentioned in bug report to better support allowMultiple flag, ...
8 years, 3 months ago (2012-09-17 17:15:25 UTC) #1
Bob Nystrom
Now that you mention this, there don't appear to be tests for what gets passed ...
8 years, 3 months ago (2012-09-18 00:43:25 UTC) #2
butlermatt
Fixed my annotations and added 4 tests for allowMultiple. https://codereview.chromium.org/10914320/diff/1/pkg/args/lib/args.dart File pkg/args/lib/args.dart (right): https://codereview.chromium.org/10914320/diff/1/pkg/args/lib/args.dart#newcode242 pkg/args/lib/args.dart:242: ...
8 years, 3 months ago (2012-09-18 13:13:50 UTC) #3
Bob Nystrom
LGTM, nicely done! I'll take this patch and submit it for you.
8 years, 3 months ago (2012-09-19 21:14:08 UTC) #4
Bob Nystrom
8 years, 3 months ago (2012-09-19 21:21:17 UTC) #5
On 2012/09/19 21:14:08, Bob Nystrom wrote:
> LGTM, nicely done! I'll take this patch and submit it for you.

Committed: https://codereview.chromium.org/10947044/

Powered by Google App Engine
This is Rietveld 408576698