-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update Closure project for Java 11 (#542)
- Loading branch information
Showing
4 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
framework/projects/Closure/compile-errors/test-134-154.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/test/com/google/javascript/jscomp/DataFlowAnalysisTest.java b/test/com/google/javascript/jscomp/DataFlowAnalysisTest.java | ||
index e07b13513..0dd914e4b 100644 | ||
--- a/test/com/google/javascript/jscomp/DataFlowAnalysisTest.java | ||
+++ b/test/com/google/javascript/jscomp/DataFlowAnalysisTest.java | ||
@@ -659,7 +659,7 @@ public class DataFlowAnalysisTest extends TestCase { | ||
assertTrue(outEdges.size() < 2); | ||
ConstPropLatticeElement aResult = flowThroughArithmeticInstruction( | ||
(ArithmeticInstruction) node, input); | ||
- for (DiGraphEdge<Instruction, Branch> _ : outEdges) { | ||
+ for (int i = 0; i < outEdges.size(); i++) { | ||
result.add(aResult); | ||
} | ||
} else { |
13 changes: 13 additions & 0 deletions
13
framework/projects/Closure/compile-errors/test-79-105.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/test/com/google/javascript/jscomp/DataFlowAnalysisTest.java b/test/com/google/javascript/jscomp/DataFlowAnalysisTest.java | ||
index e07b13513..0dd914e4b 100644 | ||
--- a/test/com/google/javascript/jscomp/DataFlowAnalysisTest.java | ||
+++ b/test/com/google/javascript/jscomp/DataFlowAnalysisTest.java | ||
@@ -659,7 +659,7 @@ public class DataFlowAnalysisTest extends TestCase { | ||
assertTrue(outEdges.size() < 2); | ||
ConstPropLatticeElement aResult = flowThroughArithmeticInstruction( | ||
(ArithmeticInstruction) node, input); | ||
- for (DiGraphEdge<Instruction, Branch> _ : outEdges) { | ||
+ for (int i = 0; i < outEdges.size(); i++) { | ||
result.add(aResult); | ||
} | ||
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters