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

Issue 1586803002: Add file documenting generic method prototype syntax (Closed)

Created:
4 years, 11 months ago by Leaf
Modified:
4 years, 11 months ago
CC:
dev-compiler+reviews_dartlang.org, Jacob, Bob Nystrom
Base URL:
git@github.com:dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 12
Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -0 lines) Patch
A GENERIC_METHODS.md View 1 2 1 chunk +190 lines, -0 lines 12 comments Download

Messages

Total messages: 12 (3 generated)
Leaf
This is just a quick doc describing the generic method comment syntax. It could get ...
4 years, 11 months ago (2016-01-13 21:50:46 UTC) #2
vsm
lgtm! https://codereview.chromium.org/1586803002/diff/20001/GENERIC_METHODS.md File GENERIC_METHODS.md (right): https://codereview.chromium.org/1586803002/diff/20001/GENERIC_METHODS.md#newcode6 GENERIC_METHODS.md:6: method syntax, but wraps it in comments. Probably ...
4 years, 11 months ago (2016-01-13 22:01:29 UTC) #3
Jennifer Messerly
LGTM!
4 years, 11 months ago (2016-01-13 22:04:38 UTC) #4
Leaf
Committed patchset #3 (id:40001) manually as a1b57501c1528b7573f807e076e0b02aa83e5d35 (presubmit successful).
4 years, 11 months ago (2016-01-13 22:28:35 UTC) #6
Leaf
https://codereview.chromium.org/1586803002/diff/20001/GENERIC_METHODS.md File GENERIC_METHODS.md (right): https://codereview.chromium.org/1586803002/diff/20001/GENERIC_METHODS.md#newcode6 GENERIC_METHODS.md:6: method syntax, but wraps it in comments. On 2016/01/13 ...
4 years, 11 months ago (2016-01-13 22:28:40 UTC) #7
Bob Nystrom
Super cool! LGTM. https://codereview.chromium.org/1586803002/diff/40001/GENERIC_METHODS.md File GENERIC_METHODS.md (right): https://codereview.chromium.org/1586803002/diff/40001/GENERIC_METHODS.md#newcode3 GENERIC_METHODS.md:3: This is a summary of the ...
4 years, 11 months ago (2016-01-13 22:43:20 UTC) #9
Jennifer Messerly
https://codereview.chromium.org/1586803002/diff/40001/GENERIC_METHODS.md File GENERIC_METHODS.md (right): https://codereview.chromium.org/1586803002/diff/40001/GENERIC_METHODS.md#newcode109 GENERIC_METHODS.md:109: Type s = dynamic /*=S*/; On 2016/01/13 22:43:20, Bob ...
4 years, 11 months ago (2016-01-13 22:49:33 UTC) #10
Jennifer Messerly
https://codereview.chromium.org/1586803002/diff/40001/GENERIC_METHODS.md File GENERIC_METHODS.md (right): https://codereview.chromium.org/1586803002/diff/40001/GENERIC_METHODS.md#newcode141 GENERIC_METHODS.md:141: // The shorthand syntax is not yet supported for ...
4 years, 11 months ago (2016-01-14 00:15:01 UTC) #11
Leaf
4 years, 11 months ago (2016-01-14 00:28:54 UTC) #12
Message was sent while issue was closed.
https://codereview.chromium.org/1586803002/diff/40001/GENERIC_METHODS.md
File GENERIC_METHODS.md (right):

https://codereview.chromium.org/1586803002/diff/40001/GENERIC_METHODS.md#newc...
GENERIC_METHODS.md:3: This is a summary of the current (as of January 2016)
supported comment-based
On 2016/01/13 22:43:20, Bob Nystrom wrote:
> Nit: Remove "supported" since it's used later in the sentence.

Done.

https://codereview.chromium.org/1586803002/diff/40001/GENERIC_METHODS.md#newc...
GENERIC_METHODS.md:13: of angle brackets and comments.
On 2016/01/13 22:43:20, Bob Nystrom wrote:
> How about:
> 
> "Generic method parameters are listed using a block comment after the method
or
> function name, inside of angle brackets."

Done.

https://codereview.chromium.org/1586803002/diff/40001/GENERIC_METHODS.md#newc...
GENERIC_METHODS.md:109: Type s = dynamic /*=S*/;
On 2016/01/13 22:49:33, John Messerly wrote:
> On 2016/01/13 22:43:20, Bob Nystrom wrote:
> > Generic method type parameters are reified?
> 
> In DDC, they will be, yes.

Just to be clear - the intention is that they will be everywhere, but currently
DDC is the only platform which implements them.

Powered by Google App Engine
This is Rietveld 408576698