diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/t8900.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/t8900.scala b/test/files/pos/t8900.scala new file mode 100644 index 0000000000..376bd786f2 --- /dev/null +++ b/test/files/pos/t8900.scala @@ -0,0 +1,11 @@ +package foo +package lambdaking + +class Test { + def byname(b: => Any) = ??? + def foo: Any = { + def bar: Any = { + byname(bar) + } + } +} |