Skip to content

Commit

Permalink
Switch from comment-based to real generics syntax (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
srawlins authored Jul 17, 2017
1 parent 68045d8 commit 2274230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/mock.dart
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ captureThat(Matcher matcher) => new ArgMatcher(matcher, true);

/// A Strong-mode safe argument matcher that wraps other argument matchers.
/// See the README for a full explanation.
/*=T*/ typed/*<T>*/(ArgMatcher matcher, {String named}) {
T typed<T>(ArgMatcher matcher, {String named}) {
if (named == null) {
_typedArgs.add(matcher);
} else {
Expand Down

0 comments on commit 2274230

Please sign in to comment.