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

Issue 175543003: Add a validation for the name parameter not matching the function name (Closed)

Created:
6 years, 10 months ago by Alan Knight
Modified:
6 years, 10 months ago
Reviewers:
Emily Fortuna
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add a validation for the name parameter not matching the function name BUG= R=efortuna@google.com Committed: https://code.google.com/p/dart/source/detail?r=32976

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M pkg/intl/lib/src/intl_message.dart View 4 chunks +8 lines, -2 lines 2 comments Download

Messages

Total messages: 5 (0 generated)
Alan Knight
6 years, 10 months ago (2014-02-21 20:37:51 UTC) #1
Emily Fortuna
lgtm, one suggestion https://codereview.chromium.org/175543003/diff/1/pkg/intl/lib/src/intl_message.dart File pkg/intl/lib/src/intl_message.dart (right): https://codereview.chromium.org/175543003/diff/1/pkg/intl/lib/src/intl_message.dart#newcode360 pkg/intl/lib/src/intl_message.dart:360: set name(String newName) { _name = ...
6 years, 10 months ago (2014-02-24 18:38:23 UTC) #2
Alan Knight
https://codereview.chromium.org/175543003/diff/1/pkg/intl/lib/src/intl_message.dart File pkg/intl/lib/src/intl_message.dart (right): https://codereview.chromium.org/175543003/diff/1/pkg/intl/lib/src/intl_message.dart#newcode360 pkg/intl/lib/src/intl_message.dart:360: set name(String newName) { _name = newName; } On ...
6 years, 10 months ago (2014-02-24 18:46:44 UTC) #3
Alan Knight
Committed patchset #1 manually as r32976 (presubmit successful).
6 years, 10 months ago (2014-02-24 18:49:12 UTC) #4
Emily Fortuna
6 years, 10 months ago (2014-02-24 18:57:45 UTC) #5
Message was sent while issue was closed.
> I got dinged before in a review for having that, since a setter is always
void.
> Which made sense to me.
I agree that a setter is always void, but I'm inclined to provide more
information if available rather than omit. But it's personal preference.

Powered by Google App Engine
This is Rietveld 408576698