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.*
|
||||
|
||||
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.*
|
||||
|
||||
trait I {
|
||||
|
||||
Reference in New Issue
Block a user