mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-17 16:19:58 +07:00
JavaPsiRecordUtil: isCanonicalConstructor fixed for record w/o components; testdata fixed (IDEA-CR-56742)
GitOrigin-RevId: a179e7ddf958f6f7c76e72187a0044d2da6cc936
This commit is contained in:
committed by
intellij-monorepo-bot
parent
cc61ddeaf4
commit
14c82dcf4f
+1
-1
@@ -12,7 +12,7 @@ record Throws(int x) {
|
||||
public Throws<error descr="Identifier expected"> </error><error descr="Unexpected token">throws</error> <error descr="Invalid method declaration; return type required">Throwable</error> {}
|
||||
}
|
||||
record Generic() {
|
||||
public <error descr="Canonical constructor cannot have type parameters"><T></error> Generic() {}
|
||||
public <error descr="Compact constructor cannot have type parameters"><T></error> Generic {}
|
||||
}
|
||||
record Delegate(int x) {
|
||||
public Delegate {
|
||||
|
||||
Reference in New Issue
Block a user