Skip to content

Commit 97ab3de

Browse files
committed
remove explicit types
1 parent f020133 commit 97ab3de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/pos/named-tuples-ops-mirror.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ trait GreetService derives HttpService:
2020
// and function that matches the required signature.
2121
val logic = e.serverLogic:
2222
(
23-
greet = (name: String) => Right("Hello, " + name),
24-
setGreeting = (name: String, greeting: String) => Right(())
23+
greet = (name) => Right("Hello, " + name),
24+
setGreeting = (name, greeting) => Right(())
2525
)
2626

2727
val server = ServerBuilder()

0 commit comments

Comments
 (0)