diff options
Diffstat (limited to 'tests/pos/t1131.scala')
-rw-r--r-- | tests/pos/t1131.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pos/t1131.scala b/tests/pos/t1131.scala new file mode 100644 index 000000000..1b2a90457 --- /dev/null +++ b/tests/pos/t1131.scala @@ -0,0 +1,4 @@ +trait A { self: Any { def p: Any } => + def f(b: => Unit): Unit = {} + f { p } +} |