Skip to content

Commit a718b5c

Browse files
authored
[docs] Context bounds in polymorphic functions targets 3.7
1 parent 6e32627 commit a718b5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/_docs/reference/contextual/context-bounds.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ done automatically under `-rewrite`.
131131

132132
## Context Bounds for Polymorphic Functions
133133

134-
From Scala 3.6 on, context bounds can also be used in polymorphic function types and polymorphic function literals:
134+
From Scala 3.7 on, context bounds can also be used in polymorphic function types and polymorphic function literals:
135135

136136
```scala
137137
type Comparer = [X: Ord] => (x: X, y: X) => Boolean
@@ -208,4 +208,4 @@ The syntax for abstract type members is generalized as follows to allow context
208208

209209
```scala
210210
TypeDef ::= id [TypeParamClause] TypeAndCtxBounds
211-
```
211+
```

0 commit comments

Comments
 (0)