1
- fails:Pattern matching binds variables
2
- fails:Pattern matching cannot mix in and when operators
3
- fails:Pattern matching raises NoMatchingPatternError if no pattern matches and no else clause
4
- fails:Pattern matching guards supports if guard
5
- fails:Pattern matching guards supports unless guard
6
- fails:Pattern matching guards makes bound variables visible in guard
7
- fails:Pattern matching guards does not evaluate guard if pattern does not match
8
- fails:Pattern matching guards takes guards into account when there are several matching patterns
9
- fails:Pattern matching guards executes else clause if no guarded pattern matches
10
- fails:Pattern matching guards raises NoMatchingPatternError if no guarded pattern matches and no else clause
11
- fails:Pattern matching variable pattern matches a value and binds variable name to this value
12
- fails:Pattern matching variable pattern makes bounded variable visible outside a case statement scope
13
- fails:Pattern matching variable pattern create local variables even if a pattern doesn't match
14
- fails:Pattern matching variable pattern allow using _ name to drop values
15
- fails:Pattern matching variable pattern supports using _ in a pattern several times
16
1
fails:Pattern matching variable pattern supports using any name with _ at the beginning in a pattern several times
17
- fails:Pattern matching variable pattern does not support using variable name (except _) several times
18
2
fails:Pattern matching variable pattern supports existing variables in a pattern specified with ^ operator
19
3
fails:Pattern matching variable pattern allows applying ^ operator to bound variables
20
4
fails:Pattern matching variable pattern requires bound variable to be specified in a pattern before ^ operator when it relies on a bound variable
@@ -24,20 +8,9 @@ fails:Pattern matching alternative pattern support underscore prefixed variables
24
8
fails:Pattern matching AS pattern binds a variable to a value if pattern matches
25
9
fails:Pattern matching AS pattern can be used as a nested pattern
26
10
fails:Pattern matching Array pattern supports form Constant(pat, pat, ...)
27
- fails:Pattern matching Array pattern supports form pat, pat, ...
28
- fails:Pattern matching Array pattern does not match object if Constant === object returns false
29
- fails:Pattern matching Array pattern does not match object without #deconstruct method
30
- fails:Pattern matching Array pattern raises TypeError if #deconstruct method does not return array
31
- fails:Pattern matching Array pattern does not match object if elements of array returned by #deconstruct method does not match elements in pattern
32
- fails:Pattern matching Array pattern binds variables
33
- fails:Pattern matching Array pattern supports splat operator *rest
34
- fails:Pattern matching Array pattern does match partially from the array beginning if list + , syntax used
35
- fails:Pattern matching Array pattern matches anything with *
36
11
fails:Pattern matching Hash pattern supports form id: pat, id: pat, ...
37
12
fails:Pattern matching Hash pattern supports a: which means a: a
38
13
fails:Pattern matching Hash pattern can mix key (a:) and key-value (a: b) declarations
39
- fails:Pattern matching Hash pattern does not support string interpolation in keys
40
- fails:Pattern matching Hash pattern raise SyntaxError when keys duplicate in pattern
41
14
fails:Pattern matching Hash pattern does not match object if Constant === object returns false
42
15
fails:Pattern matching Hash pattern does not match object without #deconstruct_keys method
43
16
fails:Pattern matching Hash pattern does not match object if #deconstruct_keys method does not return Hash
@@ -51,17 +24,10 @@ fails:Pattern matching Hash pattern supports double splat operator **rest
51
24
fails:Pattern matching Hash pattern treats **nil like there should not be any other keys in a matched Hash
52
25
fails:Pattern matching Hash pattern matches anything with **
53
26
fails:Pattern matching refinements are used for #deconstruct_keys
54
- fails:Pattern matching does not allow calculation or method calls in a pattern
55
- fails:Pattern matching Hash pattern does not support non-symbol keys
56
27
fails:Pattern matching Array pattern accepts a subclass of Array from #deconstruct
57
28
fails:Pattern matching can be standalone assoc operator that deconstructs value
58
29
fails:Pattern matching Array pattern calls #deconstruct once for multiple patterns, caching the result
59
- fails:Pattern matching find pattern captures preceding elements to the pattern
60
- fails:Pattern matching find pattern captures following elements to the pattern
61
30
fails:Pattern matching find pattern captures both preceding and following elements to the pattern
62
- fails:Pattern matching find pattern can capture the entirety of the pattern
63
- fails:Pattern matching find pattern will match an empty Array-like structure
64
- fails:Pattern matching warning when regular form does not warn about pattern matching is experimental feature
65
31
fails:Pattern matching warning when one-line form warns about pattern matching is experimental feature
66
32
fails:Pattern matching alternative pattern can be used as a nested pattern
67
33
fails:Pattern matching Array pattern can be used as a nested pattern
@@ -76,3 +42,12 @@ fails:Pattern matching supports pinning class variables
76
42
fails:Pattern matching supports pinning global variables
77
43
fails:Pattern matching supports pinning expressions
78
44
fails:Pattern matching warning when one-line form does not warn about pattern matching is experimental feature
45
+ fails:Pattern matching Hash pattern supports form Constant(id: pat, id: pat, ...)
46
+ fails:Pattern matching Hash pattern supports form Constant[id: pat, id: pat, ...]
47
+ fails:Pattern matching Hash pattern supports form {id: pat, id: pat, ...}
48
+ fails:Pattern matching Hash pattern supports 'string': key literal
49
+ fails:Pattern matching Hash pattern matches an object with #deconstruct_keys method which returns a Hash with equal keys and each value in Hash matches value in pattern
50
+ fails:Pattern matching Hash pattern calls #deconstruct_keys per pattern
51
+ fails:Pattern matching Hash pattern can match partially
52
+ fails:Pattern matching Hash pattern matches {} with {}
53
+ fails:Pattern matching refinements are used for #deconstruct
0 commit comments