|
|
Recompile unit with potential conflict/dependency on some top-level symbol.
1. Change dependency tracking from API version on unit to just unit last modified time.
2. Track sets of top-level and all declared symbols in units, recompile in case of possible conflict.
3. Track units with TypeErrorCode.CANNOT_BE_RESOLVED, recompile if any unit changes top-level symbols.
4. Better tests with source code directly in test method.
R=zundel@google.com
BUG=
TEST=
Committed: https://code.google.com/p/dart/source/detail?r=3799
Total comments: 46
Total comments: 4
Total comments: 2
Total comments: 10
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1738 lines, -998 lines) |
Patch |
 |
M |
compiler/java/com/google/dart/compiler/DartCompiler.java
|
View
|
1
2
3
4
5
|
19 chunks |
+134 lines, -95 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/DartCompilerMainContext.java
|
View
|
1
|
6 chunks |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/DefaultDartArtifactProvider.java
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/DeltaAnalyzer.java
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/ErrorCode.java
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/LibraryDeps.java
|
View
|
1
2
3
4
5
|
1 chunk |
+230 lines, -107 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/LibraryDepsVisitor.java
|
View
|
1
2
3
4
5
|
6 chunks |
+17 lines, -52 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/ast/DartClass.java
|
View
|
2
3
|
3 chunks |
+0 lines, -21 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/ast/DartField.java
|
View
|
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/ast/DartNode.java
|
View
|
|
1 chunk |
+0 lines, -18 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/ast/DartToSourceVisitor.java
|
View
|
|
4 chunks |
+0 lines, -17 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/ast/DartUnit.java
|
View
|
1
|
3 chunks |
+85 lines, -1 line |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/ast/LibraryNode.java
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/ast/LibraryUnit.java
|
View
|
1
2
3
4
|
5 chunks |
+0 lines, -208 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/backend/doc/DartDocumentationGenerator.java
|
View
|
1
2
3
4
5
|
4 chunks |
+15 lines, -2 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/backend/js/ClosureJsErrorCode.java
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/backend/js/JsErrorCode.java
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/parser/DartParser.java
|
View
|
1
2
3
4
5
6
|
2 chunks |
+23 lines, -14 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/parser/ParserErrorCode.java
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/resolver/ResolverErrorCode.java
|
View
|
1
2
3
4
5
6
|
5 chunks |
+14 lines, -9 lines |
0 comments
|
Download
|
 |
M |
compiler/java/com/google/dart/compiler/resolver/TypeErrorCode.java
|
View
|
1
2
3
4
5
6
|
4 chunks |
+16 lines, -11 lines |
0 comments
|
Download
|
 |
M |
compiler/javatests/com/google/dart/compiler/MockBundleLibrarySource.java
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
compiler/javatests/com/google/dart/compiler/backend/common/TypeHeuristicImplementationTest.java
|
View
|
1
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
compiler/javatests/com/google/dart/compiler/common/ErrorExpectation.java
|
View
|
1
2
3
4
|
2 chunks |
+52 lines, -23 lines |
0 comments
|
Download
|
 |
M |
compiler/javatests/com/google/dart/compiler/end2end/End2EndTests.java
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
|
View
|
1
2
3
4
5
|
1 chunk |
+561 lines, -0 lines |
0 comments
|
Download
|
 |
M |
compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilationTest.java
|
View
|
1
2
|
10 chunks |
+263 lines, -373 lines |
0 comments
|
Download
|
 |
M |
compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilationWithPrefixTest.java
|
View
|
1
2
|
4 chunks |
+11 lines, -19 lines |
0 comments
|
Download
|
 |
A |
compiler/javatests/com/google/dart/compiler/end2end/inc/MemoryLibrarySource.java
|
View
|
1
|
1 chunk |
+108 lines, -0 lines |
0 comments
|
Download
|
 |
M |
compiler/javatests/com/google/dart/compiler/end2end/inc/my.app.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
compiler/javatests/com/google/dart/compiler/parser/AbstractParserTest.java
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java
|
View
|
1
2
3
4
5
6
|
2 chunks |
+91 lines, -0 lines |
0 comments
|
Download
|
 |
M |
compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java
|
View
|
1
2
3
4
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
|
View
|
1
2
3
4
5
6
|
3 chunks |
+34 lines, -0 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|