diff options
Diffstat (limited to 'tests/untried/neg/macro-blackbox-fundep-materialization.check')
-rw-r--r-- | tests/untried/neg/macro-blackbox-fundep-materialization.check | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/untried/neg/macro-blackbox-fundep-materialization.check b/tests/untried/neg/macro-blackbox-fundep-materialization.check new file mode 100644 index 000000000..3c03064a2 --- /dev/null +++ b/tests/untried/neg/macro-blackbox-fundep-materialization.check @@ -0,0 +1,8 @@ +Test_2.scala:7: error: type mismatch; + found : Iso[Test.Foo,(Int, String, Boolean)] + required: Iso[Test.Foo,Nothing] +Note: (Int, String, Boolean) >: Nothing, but trait Iso is invariant in type U. +You may wish to define U as -U instead. (SLS 4.5) + val equiv = foo(Foo(23, "foo", true)) + ^ +one error found |