Commit Graph

8 Commits

Author SHA1 Message Date
Erik Corry aa6353b6da Dart SDK Spelling b, c, and d.
R=kmillikin@google.com
BUG=

Review-Url: https://codereview.chromium.org/2850783002 .
2017-05-01 08:28:10 +02:00
Bob Nystrom c1da4705f5 Revise the generic methods doc.
- Clarify up front that "methods" also applies to functions.

- Note that it is an error to use a type parameter as a type literal.

R=leafp@google.com, skybrian@google.com

Review URL: https://codereview.chromium.org/2555803003 .
2016-12-06 13:42:46 -08:00
Bob Nystrom 41d18b72ed Revise generic method doc. 2016-12-02 15:07:00 -08:00
Bob Nystrom 4024328758 Update generic methods docs to use the new syntax.
- Move the old doc to a separate file and link to it.
- Update the new doc to use the new syntax.

I also took the liberty of trying to make it a little shorter and use
more concrete examples. I hope I still cover the same bases. If not,
let me know what I missed.
2016-12-02 13:50:05 -08:00
vsmenon 4a108cc638 Update GENERIC_METHODS.md 2016-03-04 05:51:45 -08:00
Bob Nystrom 472687101a Update docs to suggest replacing dynamic with a type parameter.
R=vsm@google.com

Review URL: https://codereview.chromium.org/1716593002 .
2016-02-18 16:14:54 -08:00
vsmenon 76326585b7 Update GENERIC_METHODS.md 2016-02-03 10:45:54 -08:00
Vijay Menon a763c43486 Refactored this and uploaded here:
https://github.com/dart-lang/dev_compiler/blob/strong/STRONG_MODE.md

PTAL

R=jmesserly@google.com, rnystrom@google.com

Review URL: https://codereview.chromium.org/1541833002 .
2016-02-03 05:44:22 -08:00