Forbid "safe delete" for anonymous objects
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
trait A
|
||||
|
||||
fun foo(): A {
|
||||
return <caret>object: A {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
trait A
|
||||
|
||||
fun foo(): A {
|
||||
return object: A {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user