Skip to content

Commit 532f1d9

Browse files
author
Sergey G. Grekhov
authored
Typo in Enhanced Enums specification fixed (#1937)
1 parent 7abb3c9 commit 532f1d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

working/0158 - Enhanced Enum/feature_specification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ enum Complex<T extends Pattern> with EnumComparable<Complex> implements Pattern
278278
String get name => EnumName(this).name;
279279
280280
// Instance getter.
281-
Pattern get pattern => _patterns[this.index] ??= _factory(_pattern);
281+
Pattern get pattern => _patterns[this.index] ??= _factory(_patternSource);
282282
283283
// Instance methods.
284284
Iterable<Match> allMatches(String input, [int start = 0]) =>

0 commit comments

Comments
 (0)