diff options
Diffstat (limited to 'test/files/pos/t5305.scala')
-rw-r--r-- | test/files/pos/t5305.scala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/pos/t5305.scala b/test/files/pos/t5305.scala new file mode 100644 index 0000000000..4c32cd7c6d --- /dev/null +++ b/test/files/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 + } +} |