From 9d8f5af95a25cca5a0252440d45c2cc6b130ac3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=A6=E5=A2=83=E8=BF=B7=E7=A6=BB?= Date: Mon, 20 Nov 2023 09:19:06 +0800 Subject: [PATCH] Fix filter --- .../bitlap/validation/plugin/ValidationMethodArgsPhase.scala | 1 - 1 file changed, 1 deletion(-) diff --git a/validation-scala-plugin/src/main/scala/bitlap/validation/plugin/ValidationMethodArgsPhase.scala b/validation-scala-plugin/src/main/scala/bitlap/validation/plugin/ValidationMethodArgsPhase.scala index 522c5a8..b679cd5 100644 --- a/validation-scala-plugin/src/main/scala/bitlap/validation/plugin/ValidationMethodArgsPhase.scala +++ b/validation-scala-plugin/src/main/scala/bitlap/validation/plugin/ValidationMethodArgsPhase.scala @@ -44,7 +44,6 @@ final class ValidationMethodArgsPhase extends PluginPhase: // only public methods of classes are supported if ( tree.symbol.is(Flags.Synthetic) || - tree.symbol.isConstructor || tree.symbol.isStatic || tree.symbol.isPrivate || tree.name == nme.CONSTRUCTOR