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

Issue 724373003: Make toString visible on enum classes, as required by proposed spec. (Closed)

Created:
6 years ago by koda
Modified:
6 years ago
Reviewers:
rmacnak, hausner
CC:
reviews_dartlang.org, vm-dev_dartlang.org, gbracha
Visibility:
Public.

Description

Make toString visible on enum classes, as required by proposed spec. R=hausner@google.com, rmacnak@google.com Committed: https://code.google.com/p/dart/source/detail?r=41939

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M runtime/vm/parser.cc View 1 chunk +0 lines, -1 line 0 comments Download
A tests/language/enum_mirror_test.dart View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
koda
6 years ago (2014-11-24 19:01:37 UTC) #1
koda
The relevant wording of sec 13 of the spec proposal is: "has the same effect ...
6 years ago (2014-11-24 19:05:46 UTC) #2
rmacnak
lgtm https://codereview.chromium.org/724373003/diff/20001/tests/language/enum_to_string_test.dart File tests/language/enum_to_string_test.dart (right): https://codereview.chromium.org/724373003/diff/20001/tests/language/enum_to_string_test.dart#newcode15 tests/language/enum_to_string_test.dart:15: var name = reflect(Foo.BAR).invoke(const Symbol('toString'), []).reflectee; A symbol ...
6 years ago (2014-11-24 19:06:29 UTC) #3
hausner
lgtm LGTM. How about renaming the test to reflect that it's a mirrors test? (No ...
6 years ago (2014-11-24 19:08:30 UTC) #4
koda
hausner: I wouldn't consider it a test of the mirrors system itself, but rather a ...
6 years ago (2014-11-24 19:18:49 UTC) #5
koda
6 years ago (2014-11-24 19:19:23 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as r41939 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698