diff options
Diffstat (limited to 'tests/untried/pos/t5305.scala')
-rw-r--r-- | tests/untried/pos/t5305.scala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/untried/pos/t5305.scala b/tests/untried/pos/t5305.scala new file mode 100644 index 000000000..c0237ca3b --- /dev/null +++ b/tests/untried/pos/t5305.scala @@ -0,0 +1,13 @@ +object t5305 { + def in(a: Any) = {} + + object O { + type F = Int + val v = "" + } + + in { + import O.{F, v} + type x = {type l = (F, v.type)} // not found: type F + } +} |