diff options
Diffstat (limited to 'tests/pending/pos/t1208.scala')
-rw-r--r-- | tests/pending/pos/t1208.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pending/pos/t1208.scala b/tests/pending/pos/t1208.scala new file mode 100644 index 000000000..7b14aadca --- /dev/null +++ b/tests/pending/pos/t1208.scala @@ -0,0 +1,7 @@ +object Test { + object Foo + val f: Option[Foo.type] = Some(Foo) +} + +// unsupported with current typing rules. +// on the other hand, we need a way to refer to a module class. |