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
The :javap -fun C command shows the content of (some?) anonymous function declared in C, except for C itself. Its implementation assumes "anonfun" to be found in the class name, which is no longer true since scala/scala@63207e1.
luc$ qs -Ydelambdafy:method
Welcome to Scala version 2.11.3-20141010-082147-3e0164d7be (JavaHotSpot(TM) 64-BitServerVM, Java1.6.0_65).
Type in expressions to have them evaluated.
Type:help for more information.
scala>classC { deff=List(1).map(_ +1) }
defined classC
scala>:javap -fun CFailed:No anonfuns found.
The text was updated successfully, but these errors were encountered:
The feature intends to save the user from drilling down into closure implementations. For -Ydelambdafy:inline, it examines the anonfun classes for C. For method, it looks at lamba classes and follows the invokestatic of accessors to select the anonfun methods of C.
So -fun C selects all closures in C, -fun C#f closures in method f.
The
:javap -fun C
command shows the content of (some?) anonymous function declared in C, except for C itself. Its implementation assumes "anonfun" to be found in the class name, which is no longer true since scala/scala@63207e1.The text was updated successfully, but these errors were encountered: