Function definition on the same line as RBRACE (REPY-0003)

Description

This error occurs when a def statement is on the same line as a closing RBRACE.

Incorrect:

def myfunction() {
    pass
} def anotherfunction() {     <---- REPY-0003
    pass
}

Correct:

def myfunction() {
    pass
}                             <----
def anotherfunction() {
    pass
}