diff options
Diffstat (limited to 'tests/pickling/private-leak.scala')
-rw-r--r-- | tests/pickling/private-leak.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pickling/private-leak.scala b/tests/pickling/private-leak.scala new file mode 100644 index 000000000..3fc32b519 --- /dev/null +++ b/tests/pickling/private-leak.scala @@ -0,0 +1,9 @@ +package private_leak + +class Test { + private type Foo = Int + + val x: Foo = 1 + + x // unpickled with type Foo +} |