kotlin-spec
kotlin-spec copied to clipboard
Drop `;`s from the end of the rules, where they would create derivations, which are not accepted by the kotlin parser
The Kotlin compiler parses according to different rules than what are described in this grammar specification. This patch aims to change the grammar to reflect the behaviour of the compiler, as I described in KT-69130, it seems to be a typo in the grammar instead of a bug in the compiler.