summaryrefslogtreecommitdiff
path: root/test/pos/S1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pos/S1.scala')
-rw-r--r--test/pos/S1.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pos/S1.scala b/test/pos/S1.scala
index eba81109b3..68706e3dd3 100644
--- a/test/pos/S1.scala
+++ b/test/pos/S1.scala
@@ -9,5 +9,5 @@
*/
class S1() {
def foo[T <: this.type](x: T) = x;
- foo(this);
+ foo[this.type](this);
}