summaryrefslogtreecommitdiff
path: root/test/files/pos/t3079.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t3079.scala')
-rw-r--r--test/files/pos/t3079.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/t3079.scala b/test/files/pos/t3079.scala
index 4bead34ff3..fa732ea516 100644
--- a/test/files/pos/t3079.scala
+++ b/test/files/pos/t3079.scala
@@ -10,8 +10,8 @@ object Coerce {
def IdentityCoerce[B] = new Coerce[Identity[B], B] {
// java.lang.Error: A in trait Identity cannot be instantiated from ?x$1.type
def unwrap = _.value
-
+
// Providing the type of _ works around the problem.
- //def unwrap = (_: Identity[B]).value
+ //def unwrap = (_: Identity[B]).value
}
} \ No newline at end of file