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

Issue 1083223003: Fix additional cases where analysis server might send null, violating protocol. (Closed)

Created:
5 years, 8 months ago by Paul Berry
Modified:
5 years, 8 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Fix additional cases where analysis server might send null, violating protocol. In addition, modify the code generation so that these protocol violations will be caught by assertions during unit tests. Previously, they would only be caught at runtime by client code. R=brianwilkerson@google.com, scheglov@google.com Committed: https://code.google.com/p/dart/source/detail?r=45211

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3810 lines, -412 lines) Patch
M pkg/analysis_server/lib/src/edit/edit_domain.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/generated_protocol.dart View 127 chunks +3761 lines, -398 lines 0 comments Download
M pkg/analysis_server/lib/src/services/refactoring/extract_method.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/test/edit/refactoring_test.dart View 2 chunks +5 lines, -2 lines 2 comments Download
M pkg/analysis_server/tool/spec/codegen_dart_protocol.dart View 6 chunks +42 lines, -10 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Paul Berry
5 years, 8 months ago (2015-04-16 14:51:53 UTC) #2
Brian Wilkerson
LGTM
5 years, 8 months ago (2015-04-16 14:58:04 UTC) #3
scheglov
LGTM https://codereview.chromium.org/1083223003/diff/1/pkg/analysis_server/test/edit/refactoring_test.dart File pkg/analysis_server/test/edit/refactoring_test.dart (right): https://codereview.chromium.org/1083223003/diff/1/pkg/analysis_server/test/edit/refactoring_test.dart#newcode997 pkg/analysis_server/test/edit/refactoring_test.dart:997: MoveFileOptions options; Sort?
5 years, 8 months ago (2015-04-16 15:01:11 UTC) #4
Paul Berry
Committed patchset #1 (id:1) manually as 45211 (presubmit successful).
5 years, 8 months ago (2015-04-16 15:41:50 UTC) #5
Paul Berry
5 years, 8 months ago (2015-04-16 15:42:21 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/1083223003/diff/1/pkg/analysis_server/test/ed...
File pkg/analysis_server/test/edit/refactoring_test.dart (right):

https://codereview.chromium.org/1083223003/diff/1/pkg/analysis_server/test/ed...
pkg/analysis_server/test/edit/refactoring_test.dart:997: MoveFileOptions
options;
On 2015/04/16 15:01:10, scheglov wrote:
> Sort?

Done.

Powered by Google App Engine
This is Rietveld 408576698