@@ -21,15 +21,15 @@ trait CompilerInterface { self: scala.tasty.Reflection =>
2121 */
2222 def unpickleType (repr : Unpickler .PickledQuote , args : Unpickler .PickledArgs ): TypeTree
2323
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
2525 * with the matched holes if successful.
2626 *
2727 * Examples:
28- * - `termMatch(< f(0, myInt) >, < f(0, myInt) >, false )`
28+ * - `termMatch(< f(0, myInt) >, < f(0, myInt) >)`
2929 * 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]) >)`
3131 * 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]) >)`
3333 * will return `None` due to the missmatch of types in the hole
3434 *
3535 * Holes:
@@ -42,7 +42,7 @@ trait CompilerInterface { self: scala.tasty.Reflection =>
4242 */
4343 def termMatch (scrutinee : Term , pattern : Term ): Option [Tuple ]
4444
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
4646 * with the matched holes if successful.
4747 *
4848 * @param scrutinee `TypeTree` on which we are pattern matching
0 commit comments