KT-193: Guard primary constructor modifier list with a lookahead for LPAR

This commit is contained in:
Andrey Breslav
2011-11-07 19:16:40 +03:00
parent d1787a5f6e
commit d292b6bcfe
3 changed files with 119 additions and 5 deletions
@@ -0,0 +1,13 @@
open class A
open class AB private {
fun foo() {}
}
class A1 {
}
open class B<T : A> private () {
}