wave N+7: aac EF lambda copy (var2 in getHeight stream)
This commit is contained in:
parent
80c433467b
commit
f0a295d251
2 changed files with 26 additions and 1 deletions
24
build-logs/vfbuild22.log
Normal file
24
build-logs/vfbuild22.log
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
/storage/aboba/evovis-client/src/main/java/defpackage/aac.java:425: error: local variables referenced from a lambda expression must be final or effectively final
|
||||||
|
+ this.settings.stream().filter(aay::isVisible).mapToDouble(var1x -> var1x.getHeight() + var2).sum()
|
||||||
|
^
|
||||||
|
Note: Some input files use or override a deprecated API.
|
||||||
|
Note: Recompile with -Xlint:deprecation for details.
|
||||||
|
Note: Some input files use unchecked or unsafe operations.
|
||||||
|
Note: Recompile with -Xlint:unchecked for details.
|
||||||
|
1 error
|
||||||
|
|
||||||
|
FAILURE: Build failed with an exception.
|
||||||
|
|
||||||
|
* What went wrong:
|
||||||
|
Execution failed for task ':compileJava' (registered by plugin class 'org.gradle.api.plugins.JavaBasePlugin').
|
||||||
|
> Compilation failed; see the compiler output below.
|
||||||
|
/storage/aboba/evovis-client/src/main/java/defpackage/aac.java:425: error: local variables referenced from a lambda expression must be final or effectively final
|
||||||
|
+ this.settings.stream().filter(aay::isVisible).mapToDouble(var1x -> var1x.getHeight() + var2).sum()
|
||||||
|
^
|
||||||
|
1 error
|
||||||
|
|
||||||
|
* Try:
|
||||||
|
> Check your code and dependencies to fix the compilation error(s)
|
||||||
|
> Run with --scan to get full insights from a Build Scan (powered by Develocity).
|
||||||
|
|
||||||
|
BUILD FAILED in 7s
|
||||||
|
|
@ -420,9 +420,10 @@ public class aac extends zu {
|
||||||
case 1390001848:
|
case 1390001848:
|
||||||
var1 = var4;
|
var1 = var4;
|
||||||
var2 = cardSettingGap();
|
var2 = cardSettingGap();
|
||||||
|
final float var2f = var2;
|
||||||
return (float)(
|
return (float)(
|
||||||
cardHeaderHeight(34.0F) + 6.0F + var1
|
cardHeaderHeight(34.0F) + 6.0F + var1
|
||||||
+ this.settings.stream().filter(aay::isVisible).mapToDouble(var1x -> var1x.getHeight() + var2).sum()
|
+ this.settings.stream().filter(aay::isVisible).mapToDouble(var1x -> var1x.getHeight() + var2f).sum()
|
||||||
+ var2
|
+ var2
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue