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

Issue 1425393002: Map merging. (Closed)

Created:
5 years, 1 month ago by pquitslund
Modified:
5 years, 1 month ago
Reviewers:
Cutch, Brian Wilkerson
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Map merging. Basic YAML map merging suitable for merging a default map with an overriding one. The semantics favor the overrider with a twist to support a short-hand for lists that stand-in for maps of scalars to booleans. Specifically, lint rules can be enumerated as a list or as a map. To make this work, lists can be "promoted" to maps. In particular, if linter: rules: - camel_case_types - one_member_abstracts is merged with linter: rules: one_member_abstracts: false always_specify_return_types: true the right thing is done to get us to: linter: rules: camel_case_types: true one_member_abstracts: false always_specify_return_types: true R=brianwilkerson@google.com, johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/67dc108f391937786a15c8adc17667486cf34548

Patch Set 1 #

Total comments: 6

Patch Set 2 : Runtime type check fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -1 line) Patch
M pkg/analyzer/lib/source/analysis_options_provider.dart View 2 chunks +17 lines, -0 lines 0 comments Download
A pkg/analyzer/lib/src/util/yaml.dart View 1 1 chunk +55 lines, -0 lines 0 comments Download
M pkg/analyzer/test/source/analysis_options_provider_test.dart View 1 chunk +54 lines, -0 lines 0 comments Download
M pkg/analyzer/test/src/util/test_all.dart View 1 chunk +3 lines, -1 line 0 comments Download
A pkg/analyzer/test/src/util/yaml_test.dart View 1 1 chunk +104 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
pquitslund
5 years, 1 month ago (2015-11-03 00:39:15 UTC) #2
Brian Wilkerson
LGTM https://codereview.chromium.org/1425393002/diff/1/pkg/analyzer/test/src/util/yaml_test.dart File pkg/analyzer/test/src/util/yaml_test.dart (right): https://codereview.chromium.org/1425393002/diff/1/pkg/analyzer/test/src/util/yaml_test.dart#newcode29 pkg/analyzer/test/src/util/yaml_test.dart:29: } Add a sibling to "three" to ensure ...
5 years, 1 month ago (2015-11-03 01:07:27 UTC) #3
Cutch
lgtm
5 years, 1 month ago (2015-11-03 15:00:02 UTC) #4
pquitslund
Thank you! https://codereview.chromium.org/1425393002/diff/1/pkg/analyzer/test/src/util/yaml_test.dart File pkg/analyzer/test/src/util/yaml_test.dart (right): https://codereview.chromium.org/1425393002/diff/1/pkg/analyzer/test/src/util/yaml_test.dart#newcode29 pkg/analyzer/test/src/util/yaml_test.dart:29: } On 2015/11/03 01:07:27, Brian Wilkerson wrote: ...
5 years, 1 month ago (2015-11-03 18:38:09 UTC) #5
pquitslund
On 2015/11/03 18:38:09, pquitslund wrote: > Thank you! > > https://codereview.chromium.org/1425393002/diff/1/pkg/analyzer/test/src/util/yaml_test.dart > File pkg/analyzer/test/src/util/yaml_test.dart (right): ...
5 years, 1 month ago (2015-11-03 18:39:42 UTC) #6
pquitslund
5 years, 1 month ago (2015-11-03 18:42:22 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
67dc108f391937786a15c8adc17667486cf34548 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698