From a8009869749ab60f80e7ee645266f93166700ebe Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Tue, 25 Jun 2024 20:24:47 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- input/src/main/scala/fix/ApplyInfixNoParenTest.scala | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/input/src/main/scala/fix/ApplyInfixNoParenTest.scala b/input/src/main/scala/fix/ApplyInfixNoParenTest.scala index 5bb808d..e348bd6 100644 --- a/input/src/main/scala/fix/ApplyInfixNoParenTest.scala +++ b/input/src/main/scala/fix/ApplyInfixNoParenTest.scala @@ -3,4 +3,8 @@ rule = ApplyInfixNoParen */ package fix -trait ApplyInfixNoParenTest +trait ApplyInfixNoParenTest { + def f1: Boolean = false == true && false // assert: ApplyInfixNoParen + def f2: Boolean = (false == true) && false // これはOK + def f3: Boolean = false == (true && false) // これもOK +}