| Other |
|---|
| 1.4.0 merlinFixed |
|
Duplicate :
|
|
|
Duplicate :
|
|
|
Relates :
|
Just a semicolon in a method body is a null statement. It has the full status
of a statement except that it is a noop.
Hence, the following method should not compile:
void f() {
return;;
}
The second semicolon is a different statement and is unreachable. There
should be an error reported that the second semicolon is unreachable.
|