报告与记录定义一起使用时不必要的 final 修饰符。

示例:


  final record R(int a) {} // 不需要修饰符