|
Fixes #179 -- compile error if editing files during server mode
this avoids reloading file contents many times during a compile. `.contents.data` == bad!
also fixes #73, using Analyzer's LineInfo instead of FileSpan to avoid finding line breaks over and over
I did some manual testing on sunflower as well as diffing SDK messages before and after
The one baseline change (23 -> 22) seems more accurate than it was before.
R=vsm@google.com
Committed: https://github.com/dart-lang/dev_compiler/commit/cad7897b28b0542c79d7f0ea935279077402fa8f
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+400 lines, -353 lines) |
Patch |
|
M |
bin/edit_files.dart
|
View
|
|
4 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
|
M |
lib/devc.dart
|
View
|
1
2
|
13 chunks |
+78 lines, -53 lines |
0 comments
|
Download
|
|
M |
lib/src/checker/resolver.dart
|
View
|
1
2
|
4 chunks |
+7 lines, -45 lines |
0 comments
|
Download
|
|
M |
lib/src/codegen/code_generator.dart
|
View
|
1
|
2 chunks |
+19 lines, -8 lines |
0 comments
|
Download
|
|
M |
lib/src/codegen/dart_codegen.dart
|
View
|
1
|
4 chunks |
+4 lines, -11 lines |
0 comments
|
Download
|
|
M |
lib/src/codegen/js_codegen.dart
|
View
|
1
2
|
6 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
|
M |
lib/src/codegen/reify_coercions.dart
|
View
|
1
|
3 chunks |
+15 lines, -11 lines |
0 comments
|
Download
|
|
M |
lib/src/dependency_graph.dart
|
View
|
1
|
14 chunks |
+52 lines, -35 lines |
0 comments
|
Download
|
|
M |
lib/src/info.dart
|
View
|
1
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
|
M |
lib/src/report.dart
|
View
|
1
2
|
7 chunks |
+35 lines, -49 lines |
0 comments
|
Download
|
|
M |
lib/src/testing.dart
|
View
|
1
2
|
4 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
|
M |
lib/src/utils.dart
|
View
|
|
3 chunks |
+27 lines, -14 lines |
0 comments
|
Download
|
|
M |
test/dart_codegen/expect/core/string.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/dependency_graph_test.dart
|
View
|
1
2
|
58 chunks |
+111 lines, -111 lines |
0 comments
|
Download
|
|
M |
test/report_test.dart
|
View
|
1
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
Total messages: 5 (1 generated)
|