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

Issue 1369573003: Fix handling of empty .analysis_options files and test this case (Closed)

Created:
5 years, 2 months ago by Cutch
Modified:
5 years, 2 months ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix handling of empty .analysis_options files and test this case Fixes #24431 R=brianwilkerson@google.com Committed: https://github.com/dart-lang/sdk/commit/9535715f928a70987d7a164b56b2e65e0ffb581e

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -4 lines) Patch
M pkg/analyzer/lib/source/analysis_options_provider.dart View 1 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/analyzer/test/source/analysis_options_provider_test.dart View 1 2 chunks +41 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Cutch
5 years, 2 months ago (2015-09-24 19:22:00 UTC) #2
pquitslund
https://codereview.chromium.org/1369573003/diff/1/pkg/analyzer/lib/source/analysis_options_provider.dart File pkg/analyzer/lib/source/analysis_options_provider.dart (left): https://codereview.chromium.org/1369573003/diff/1/pkg/analyzer/lib/source/analysis_options_provider.dart#oldcode38 pkg/analyzer/lib/source/analysis_options_provider.dart:38: if (doc is! YamlMap) { I would prefer: if ...
5 years, 2 months ago (2015-09-24 19:26:18 UTC) #3
Brian Wilkerson
LGTM
5 years, 2 months ago (2015-09-24 19:26:20 UTC) #4
pquitslund
On 2015/09/24 19:26:18, pquitslund wrote: > https://codereview.chromium.org/1369573003/diff/1/pkg/analyzer/lib/source/analysis_options_provider.dart > File pkg/analyzer/lib/source/analysis_options_provider.dart (left): > > https://codereview.chromium.org/1369573003/diff/1/pkg/analyzer/lib/source/analysis_options_provider.dart#oldcode38 > ...
5 years, 2 months ago (2015-09-24 19:27:41 UTC) #5
Cutch
https://codereview.chromium.org/1369573003/diff/1/pkg/analyzer/lib/source/analysis_options_provider.dart File pkg/analyzer/lib/source/analysis_options_provider.dart (left): https://codereview.chromium.org/1369573003/diff/1/pkg/analyzer/lib/source/analysis_options_provider.dart#oldcode38 pkg/analyzer/lib/source/analysis_options_provider.dart:38: if (doc is! YamlMap) { On 2015/09/24 19:26:17, pquitslund ...
5 years, 2 months ago (2015-09-24 19:37:22 UTC) #6
Cutch
Committed patchset #2 (id:20001) manually as 9535715f928a70987d7a164b56b2e65e0ffb581e (presubmit successful).
5 years, 2 months ago (2015-09-24 19:38:57 UTC) #7
pquitslund
5 years, 2 months ago (2015-09-24 20:47:21 UTC) #8
Message was sent while issue was closed.
Awesome.  Thanks  John!

Powered by Google App Engine
This is Rietveld 408576698