Case definition on the same line as RBRACE (REPY-0005)¶
Description¶
This error occurs when a case definition is on the same line as a closing RBRACE.
Incorrect:¶
match(num) {
case 1{
pass
} case _{ <---- REPY-0005
pass
}
}
Correct:¶
match(num) {
case 1{
pass
} <----
case _{
pass
}
}