Skip to content

Commit bccc3c2

Browse files
committed
1 parent 72bef94 commit bccc3c2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pkg/dev_compiler/GENERIC_METHODS.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Strong mode generic method prototype syntax
22

3-
This is a summary of the current (as of January 2016) supported comment-based
4-
generic method syntax supported by the analyzer strong mode and the Dart Dev
5-
Compiler. The comment-based syntax essentially uses the proposed actual generic
6-
method syntax, but wraps it in comments. This allows developers to experiment
7-
with generic methods while still ensuring that their code runs on all platforms
8-
while generic methods are still being evaluated for inclusion into the language.
3+
This is a summary of the current (as of January 2016) comment-based generic
4+
method syntax supported by the analyzer strong mode and the Dart Dev Compiler.
5+
The comment-based syntax essentially uses the proposed actual generic method
6+
syntax, but wraps it in comments. This allows developers to experiment with
7+
generic methods while still ensuring that their code runs on all platforms while
8+
generic methods are still being evaluated for inclusion into the language.
99

1010
## Declaring generic method parameters
1111

12-
Generic method parameters are listed after the method or function name, inside
13-
of angle brackets and comments.
12+
Generic method parameters are listed using a block comment after the method or
13+
function name, inside of angle brackets.
1414

1515
```dart
1616
// This declares a function which takes two unused generic method parameters

0 commit comments

Comments
 (0)