We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 528d931 commit 9e77cf6Copy full SHA for 9e77cf6
library/src/scala/util/NotGiven.scala
@@ -35,7 +35,7 @@ object NotGiven extends LowPriorityNotGiven {
35
* search for `C`). A reference to this value will be explicitly constructed by Dotty's
36
* implicit search algorithm
37
*/
38
- def value: NotGiven[Nothing] = new NotGiven[Nothing]()
+ val value: NotGiven[Nothing] = new NotGiven[Nothing]()
39
40
/** One of two ambiguous methods used to emulate negation in Scala 2 */
41
given amb1[T](using ev: T): NotGiven[T] = ???
0 commit comments