@@ -21,15 +21,15 @@ trait CompilerInterface { self: scala.tasty.Reflection =>
21
21
*/
22
22
def unpickleType (repr : Unpickler .PickledQuote , args : Unpickler .PickledArgs ): TypeTree
23
23
24
- /** Pattern matches an the scrutinee against the pattern and returns a tuple
24
+ /** Pattern matches the scrutinee against the pattern and returns a tuple
25
25
* with the matched holes if successful.
26
26
*
27
27
* Examples:
28
- * - `termMatch(< f(0, myInt) >, < f(0, myInt) >, false )`
28
+ * - `termMatch(< f(0, myInt) >, < f(0, myInt) >)`
29
29
* will return `Some(())` (where `()` is a tuple of arity 0)
30
- * - `termMatch(< f(0, myInt) >, < f(patternHole[Int], patternHole[Int]) >, false )`
30
+ * - `termMatch(< f(0, myInt) >, < f(patternHole[Int], patternHole[Int]) >)`
31
31
* will return `Some(Tuple2('{0}, '{ myInt }))`
32
- * - `termMatch(< f(0, "abc") >, < f(0, patternHole[Int]) >, false )`
32
+ * - `termMatch(< f(0, "abc") >, < f(0, patternHole[Int]) >)`
33
33
* will return `None` due to the missmatch of types in the hole
34
34
*
35
35
* Holes:
@@ -42,7 +42,7 @@ trait CompilerInterface { self: scala.tasty.Reflection =>
42
42
*/
43
43
def termMatch (scrutinee : Term , pattern : Term ): Option [Tuple ]
44
44
45
- /** Pattern matches an the scrutineeType against the patternType and returns a tuple
45
+ /** Pattern matches the scrutineeType against the patternType and returns a tuple
46
46
* with the matched holes if successful.
47
47
*
48
48
* @param scrutinee `TypeTree` on which we are pattern matching
0 commit comments