Parsing: allow semicolon between declarations

This commit is contained in:
Denis Zharkov
2015-05-12 14:45:51 +03:00
parent 7edff172a2
commit d058a07ce2
4 changed files with 220 additions and 0 deletions
@@ -0,0 +1,27 @@
package foo;
fun foo1() {};
val x = 1;;;;
class A() {
val x = 1;
fun foo() {
class A1;
val x = 1;
}
fun bar();
init {};
constructor() : super();
companion object {};
};
fun foo;
val;
class B {
val;
init;
constructor;
}