summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-blackbox-fundep-materialization.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/macro-blackbox-fundep-materialization.check')
-rw-r--r--test/files/neg/macro-blackbox-fundep-materialization.check12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/neg/macro-blackbox-fundep-materialization.check b/test/files/neg/macro-blackbox-fundep-materialization.check
new file mode 100644
index 0000000000..a5a9b9a206
--- /dev/null
+++ b/test/files/neg/macro-blackbox-fundep-materialization.check
@@ -0,0 +1,12 @@
+Test_2.scala:7: Iso.materializeIso is not a valid implicit value for Iso[Test.Foo,L] because:
+hasMatchingSymbol reported 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))
+ ^
+Test_2.scala:7: error: could not find implicit value for parameter iso: Iso[Test.Foo,L]
+ val equiv = foo(Foo(23, "foo", true))
+ ^
+one error found