mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +07:00
Sealed classes: restricted keyword/identifier -> contextual keyword (IDEA-257414)
GitOrigin-RevId: a3b7cb3c6eb3a65f78cf473fb93ddfa9946dea38
This commit is contained in:
committed by
intellij-monorepo-bot
parent
66ab33ff7c
commit
45d71a0820
@@ -48,7 +48,7 @@ class YieldStatements {
|
||||
}
|
||||
}
|
||||
|
||||
class <error descr="'yield' is a restricted identifier and cannot be used for type declarations">yield</error> {
|
||||
class <error descr="'yield' is a contextual keyword and cannot be used for type declarations">yield</error> {
|
||||
void test(<error descr="Illegal reference to restricted type 'yield'">yield</error> yield) {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user