Skip to content

Instantly share code, notes, and snippets.

@lrytz
Last active Nov 6, 2015
Embed
What would you like to do?
sandbox git:(removeIcode) cat Test.scala
class C {
def f(l: List[String]) = l foreach println
}
sandbox git:(removeIcode) ~/scala/scala3/build/pack/bin/scalac -Yopt:l:classpath Test.scala
sandbox git:(removeIcode) cfr-decompiler C.class
public class C {
private static /* synthetic */ Map $deserializeLambdaCache$;
public void f(List<String> l) {
if (l == null) {
throw null;
}
List foreach_these = l;
while (!foreach_these.isEmpty()) {
C.C$$$anonfun$1$adapted(foreach_these.head());
foreach_these = (List)foreach_these.tail();
}
}
public static final /* synthetic */ Object C$$$anonfun$1$adapted(Object x) {
Predef..MODULE$.println(x);
return BoxedUnit.UNIT;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment