Merge pull request #14035 from asgerf/shared/variable-capture-nested

Variable capture: synchronize with aliases in nested scopes
This commit is contained in:
Asger F
2023-08-24 15:39:34 +02:00
committed by GitHub
2 changed files with 41 additions and 11 deletions

View File

@@ -210,7 +210,7 @@ public class B {
r1.run();
};
r2.run();
sink(out.get(0)); // $ MISSING: hasValueFlow=double.capture.out
sink(out.get(0)); // $ hasValueFlow=double.capture.out
}
void testEnhancedForStmtCapture() {