File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ which means that the alternative `c` would be chosen as solution!
52
52
Scala 2's somewhat puzzling behavior with respect to ambiguity has been exploited to implement
53
53
the analogue of a "negated" search in implicit resolution, where a query ` Q1 ` fails if some other
54
54
query ` Q2 ` succeeds and ` Q1 ` succeeds if ` Q2 ` fails. With the new cleaned up behavior these
55
- techniques no longer work. But there is now a new special type ` scala.util.NotGiven ` which
56
- implements negation directly. For any query type ` Q ` : ` NotGiven [Q]` succeeds if and only if the
55
+ techniques no longer work. But there is now a new special type ` scala.util.Not ` which
56
+ implements negation directly. For any query type ` Q ` : ` Not [Q]` succeeds if and only if the
57
57
implicit search for ` Q ` fails.
58
58
59
59
### Dependent function types [ #3464 ] ( https://github.com/lampepfl/dotty/pull/3464 )
You can’t perform that action at this time.
0 commit comments