You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defbaseCase/*<-example::NamedApplyBlockMethods.baseCase().*/= foo/*->example::NamedApplyBlockMethods.foo().*//*->local0*/(local/*->example::NamedApplyBlockMethods.local.*/, c =3)// as named apply is desugared, it would take more work to inspect within the body of the setter
7
-
defrecursive/*<-example::NamedApplyBlockMethods.recursive().*/= foo/*->example::NamedApplyBlockMethods.foo().*//*->local2*/(local/*->example::NamedApplyBlockMethods.local.*/, c =/*->local1*/foo(local, c =3))// as named apply is desugared, it would take more work to inspect within the body of the setter
User/*->example::NamedArguments#User.*//*->example::NamedArguments#User.apply().*/(name ="John")// as there is no API to get the symbols of method arguments, this proposes a problem for how to generate references from a NamedArg
6
-
User/*->example::NamedArguments#User.*/.apply/*->example::NamedArguments#User.apply().*/(name ="John")// as there is no API to get the symbols of method arguments, this proposes a problem for how to generate references from a NamedArg
Copy file name to clipboardExpand all lines: tests/semanticdb/expect/NamedArguments.scala
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,6 @@ package example
2
2
3
3
classNamedArguments {
4
4
caseclassUser(name: String)
5
-
User(name ="John")// as there is no API to get the symbols of method arguments, this proposes a problem for how to generate references from a NamedArg
6
-
User.apply(name ="John")// as there is no API to get the symbols of method arguments, this proposes a problem for how to generate references from a NamedArg
0 commit comments