Skip to content

Commit 04d16b7

Browse files
Fix typo in second example
1 parent 0ae5516 commit 04d16b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/quote-pattern-type-variable-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ We first want to introduce syntax for explicit type variable definitions in quot
8585

8686
```scala
8787
case '[ type t; List[`t`] ] => f[t]
88-
case '[ type tail <: Tuple <: *[Int, `tail`] ] => g[tail]
88+
case '[ type tail <: Tuple; *[Int, `tail`] ] => g[tail]
8989
```
9090

9191
Second, we want the remove the need for backticks for references to explicit type variable definitions. If we have an explicit type variable definition and a type variable with the same name, we can syntactically assume these are the same and not introduce a new nested type variable.

0 commit comments

Comments
 (0)