diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2016-03-13 19:55:31 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2016-03-13 19:55:31 +0100 |
commit | fe94b7a360318a9a8e07201fbaf6ed2ae5231e28 (patch) | |
tree | 87b10f48a7d0f36b7b5146d006684fc1d45fddb1 /tests | |
parent | daffba9de6176ab75f292e2281aec87d5bb23124 (diff) | |
parent | 216c195f5592e3f4cbf96ed00b3710a46307cd8a (diff) | |
download | dotty-fe94b7a360318a9a8e07201fbaf6ed2ae5231e28.tar.gz dotty-fe94b7a360318a9a8e07201fbaf6ed2ae5231e28.tar.bz2 dotty-fe94b7a360318a9a8e07201fbaf6ed2ae5231e28.zip |
Merge pull request #1171 from dotty-staging/fix-#1130
Have checkNotPrivate skip over private aliases.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pos/i1130.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pos/i1130.scala b/tests/pos/i1130.scala new file mode 100644 index 000000000..8d71de5e8 --- /dev/null +++ b/tests/pos/i1130.scala @@ -0,0 +1,6 @@ +trait A { + private type Foo = Int + + def foo: Foo = 1 +} +class B extends A |