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

Issue 2444843002: Make `C()`, where `C` is a class name, a compile-time error. (Closed)

Created:
4 years, 1 month ago by Lasse Reichstein Nielsen
Modified:
4 years, 1 month ago
CC:
reviews_dartlang.org, Bob Nystrom, Leaf
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : Also prohibit calls on constructors when not a single identifier. #

Total comments: 2

Patch Set 3 : Specify existing behavior. #

Patch Set 4 : Address previous comment. #

Total comments: 12

Patch Set 5 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -6 lines) Patch
M docs/language/dartLangSpec.tex View 1 2 3 4 4 chunks +18 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
Lasse Reichstein Nielsen
https://codereview.chromium.org/2444843002/diff/1/docs/language/dartLangSpec.tex File docs/language/dartLangSpec.tex (right): https://codereview.chromium.org/2444843002/diff/1/docs/language/dartLangSpec.tex#newcode3713 docs/language/dartLangSpec.tex:3713: If $f_{id}$ is a prefix object or a type ...
4 years, 1 month ago (2016-10-24 10:36:59 UTC) #2
floitsch
LGTM. If the implementations implemented it this way anyway, go ahead and commit. If not, ...
4 years, 1 month ago (2016-10-24 11:19:49 UTC) #3
eernst
LGTM. We could consider it to be a clean-up action: It's a compile time error ...
4 years, 1 month ago (2016-10-24 12:55:06 UTC) #4
Lasse Reichstein Nielsen
It is not the current behavior - the current behavior is to treat it like ...
4 years, 1 month ago (2016-10-25 07:16:14 UTC) #5
Lasse Reichstein Nielsen
It is not the current behavior - the current behavior is to treat it like ...
4 years, 1 month ago (2016-10-25 07:16:14 UTC) #6
Lasse Reichstein Nielsen
Added clause saying prefix.C(), prefix.C.foo() and C.foo() are also compile-time errors. PTAL
4 years, 1 month ago (2016-10-25 07:40:12 UTC) #7
eernst
On 2016/10/25 07:16:14, Lasse Reichstein Nielsen wrote: > It is not the current behavior - ...
4 years, 1 month ago (2016-10-25 08:00:10 UTC) #8
eernst
On 2016/10/25 07:16:14, Lasse Reichstein Nielsen wrote: > It is not the current behavior - ...
4 years, 1 month ago (2016-10-25 08:00:10 UTC) #9
eernst
LGTM again, with a question about a possible redundant wording in line 3745. https://codereview.chromium.org/2444843002/diff/20001/docs/language/dartLangSpec.tex File ...
4 years, 1 month ago (2016-10-25 08:04:54 UTC) #10
Lasse Reichstein Nielsen
Changes since last review, PTAL. https://codereview.chromium.org/2444843002/diff/20001/docs/language/dartLangSpec.tex File docs/language/dartLangSpec.tex (right): https://codereview.chromium.org/2444843002/diff/20001/docs/language/dartLangSpec.tex#newcode3745 docs/language/dartLangSpec.tex:3745: Otherwise, if $e_f$ is ...
4 years, 1 month ago (2016-11-16 11:36:03 UTC) #11
Florian Schneider
lgtm
4 years, 1 month ago (2016-11-16 17:15:33 UTC) #13
eernst
LGTM again, with a couple of typo-level comments. https://codereview.chromium.org/2444843002/diff/60001/docs/language/dartLangSpec.tex File docs/language/dartLangSpec.tex (right): https://codereview.chromium.org/2444843002/diff/60001/docs/language/dartLangSpec.tex#newcode1241 docs/language/dartLangSpec.tex:1241: A ...
4 years, 1 month ago (2016-11-17 08:32:31 UTC) #14
Lasse Reichstein Nielsen
https://codereview.chromium.org/2444843002/diff/60001/docs/language/dartLangSpec.tex File docs/language/dartLangSpec.tex (right): https://codereview.chromium.org/2444843002/diff/60001/docs/language/dartLangSpec.tex#newcode1241 docs/language/dartLangSpec.tex:1241: A {\em constructor parameter list} is a parenthesized, comma-separated ...
4 years, 1 month ago (2016-11-17 08:56:16 UTC) #15
Lasse Reichstein Nielsen
4 years, 1 month ago (2016-11-17 08:57:20 UTC) #17
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
de8e04d76a8974a5c18f34820b23b381565dec72 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698