diff options
Diffstat (limited to 'tests/disabled/not-representable/pos/t1803.scala')
-rw-r--r-- | tests/disabled/not-representable/pos/t1803.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/disabled/not-representable/pos/t1803.scala b/tests/disabled/not-representable/pos/t1803.scala new file mode 100644 index 000000000..94b59a480 --- /dev/null +++ b/tests/disabled/not-representable/pos/t1803.scala @@ -0,0 +1,3 @@ +// No parameter type inference in Dotty +class A { def foo[A](a: A) = a } +class B extends A { override def foo[A](b) = b } |