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 da48e1a commit b1dac36Copy full SHA for b1dac36
tests/repl/errmsgs.check
@@ -31,10 +31,9 @@ scala> val a: Inv[String] = new Inv(new Inv(1))
31
-- [E007] Type Mismatch Error: <console>:5:33 ----------------------------------
32
5 |val a: Inv[String] = new Inv(new Inv(1))
33
| ^^^^^
34
- | found: Inv[T]
35
- | required: String
36
- |
37
- | where: T is a type variable with constraint >: Int(1)
+ | found: Inv[Int]
+ | required: String
+ |
38
scala> val b: Inv[String] = new Inv(1)
39
-- [E007] Type Mismatch Error: <console>:5:29 ----------------------------------
40
5 |val b: Inv[String] = new Inv(1)
0 commit comments