We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae15dd5 commit e76a27eCopy full SHA for e76a27e
README.md
@@ -28,3 +28,19 @@ class Test {
28
```
29
% (export JAVA_HOME=`java_home 1.8`; export PATH=$JAVA_HOME/bin:$PATH; sbt 'test:runMain scala.runtime.test.Test')
30
31
+
32
+### Future work
33
34
+ - Augment the code generator to also generate specialized variants of the functional interface and
35
+ modify scalac to emit lambdas as calls to the lambda MetaFactory against them.
36
37
+```java
38
+package scala.runtime;
39
40
+@FunctionalInterface
41
+public interface F1$mcII$sp extends F1 {
42
+ abstract int apply$mcII$sp(int v1);
43
44
+ default Object apply(Object s) { return (Integer) apply$mcII$sp((Integer) s); }
45
+}
46
+```
0 commit comments