Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Issue 1141013002: Fixes #179 -- compile error if editing files during server mode (Closed)

Created:
5 years, 7 months ago by Jennifer Messerly
Modified:
5 years, 7 months ago
Reviewers:
vsm
CC:
dev-compiler+reviews_dartlang.org
Base URL:
git@github.com:dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

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

Patch Set 1 #

Total comments: 12

Patch Set 2 : feedback #

Patch Set 3 : #

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

Messages

Total messages: 5 (1 generated)
Jennifer Messerly
https://codereview.chromium.org/1141013002/diff/1/bin/edit_files.dart File bin/edit_files.dart (right): https://codereview.chromium.org/1141013002/diff/1/bin/edit_files.dart#newcode79 bin/edit_files.dart:79: Source findSource(Uri uri) { this was only used by ...
5 years, 7 months ago (2015-05-13 23:21:16 UTC) #2
vsm
lgtm with some nits below https://codereview.chromium.org/1141013002/diff/1/lib/devc.dart File lib/devc.dart (right): https://codereview.chromium.org/1141013002/diff/1/lib/devc.dart#newcode45 lib/devc.dart:45: abstract class CompilerContext { ...
5 years, 7 months ago (2015-05-14 22:02:08 UTC) #3
Jennifer Messerly
thanks! https://codereview.chromium.org/1141013002/diff/1/lib/devc.dart File lib/devc.dart (right): https://codereview.chromium.org/1141013002/diff/1/lib/devc.dart#newcode45 lib/devc.dart:45: abstract class CompilerContext { On 2015/05/14 22:02:08, vsm ...
5 years, 7 months ago (2015-05-14 23:42:21 UTC) #4
Jennifer Messerly
5 years, 7 months ago (2015-05-14 23:42:37 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
cad7897b28b0542c79d7f0ea935279077402fa8f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698