mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-31 17:45:48 +07:00
#IDEA-251700 fixed Merge-request: IJ-MR-160901 Merged-by: Bartek Pacia <bartek.pacia@jetbrains.com> GitOrigin-RevId: f0a1224846e203a3dc6638270d665354dcf14fb4
10 lines
444 B
Java
10 lines
444 B
Java
// "Convert to record class" "true-preview"
|
|
|
|
/// JLS 8.10.1 says:
|
|
///
|
|
/// A record component may be a variable arity record component, indicated by an ellipsis following the type.
|
|
/// At most one variable arity record component is permitted for a record class.
|
|
/// It is a compile-time error if a variable arity record component appears anywhere in the list of record components except the last position.
|
|
record R(int single, int... array) {
|
|
}
|