[Parser] Move function's contracts parsing in before type constraints parsing
This commit is contained in:
@@ -1671,10 +1671,10 @@ public class KotlinParsing extends AbstractKotlinParsing {
|
||||
parseTypeRef();
|
||||
}
|
||||
|
||||
parseTypeConstraintsGuarded(typeParameterListOccurred);
|
||||
|
||||
parseFunctionContract();
|
||||
|
||||
parseTypeConstraintsGuarded(typeParameterListOccurred);
|
||||
|
||||
if (at(SEMICOLON)) {
|
||||
advance(); // SEMICOLON
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user