Corrected test data bacause return inside "use { }" is now allowed
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
// ERROR: 'return' is not allowed here
|
|
||||||
// ERROR: A 'return' expression required in a function with a block body ('{...}')
|
|
||||||
import java.io.*
|
import java.io.*
|
||||||
|
|
||||||
public class C {
|
public class C {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
// ERROR: 'return' is not allowed here
|
|
||||||
// ERROR: A 'return' expression required in a function with a block body ('{...}')
|
|
||||||
import java.io.*
|
import java.io.*
|
||||||
|
|
||||||
trait I {
|
trait I {
|
||||||
|
|||||||
Reference in New Issue
Block a user