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

Unified Diff: GENERIC_METHODS.md

Issue 1585753003: Some phrasing fixes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: GENERIC_METHODS.md
diff --git a/GENERIC_METHODS.md b/GENERIC_METHODS.md
index 72b0e7f868b43fc779acc13d4e78fe894c00bf8b..1cc13ae8962155eea1b980d17973c6edfae250d2 100644
--- a/GENERIC_METHODS.md
+++ b/GENERIC_METHODS.md
@@ -1,16 +1,16 @@
# Strong mode generic method prototype syntax
-This is a summary of the current (as of January 2016) supported comment-based
-generic method syntax supported by the analyzer strong mode and the Dart Dev
-Compiler. The comment-based syntax essentially uses the proposed actual generic
-method syntax, but wraps it in comments. This allows developers to experiment
-with generic methods while still ensuring that their code runs on all platforms
-while generic methods are still being evaluated for inclusion into the language.
+This is a summary of the current (as of January 2016) comment-based generic
+method syntax supported by the analyzer strong mode and the Dart Dev Compiler.
+The comment-based syntax essentially uses the proposed actual generic method
+syntax, but wraps it in comments. This allows developers to experiment with
+generic methods while still ensuring that their code runs on all platforms while
+generic methods are still being evaluated for inclusion into the language.
## Declaring generic method parameters
-Generic method parameters are listed after the method or function name, inside
-of angle brackets and comments.
+Generic method parameters are listed using a block comment after the method or
+function name, inside of angle brackets.
```dart
// This declares a function which takes two unused generic method parameters
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698