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

Issue 2343713002: fix #27151, list and map literals infer using up and down info (Closed)

Created:
4 years, 3 months ago by Jennifer Messerly
Modified:
4 years, 3 months ago
Reviewers:
Leaf
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

fix #27151, list and map literals infer using up and down info R=leafp@google.com Committed: https://github.com/dart-lang/sdk/commit/79a9409f752dec820d4eb22bd1ea8604fac43455

Patch Set 1 #

Patch Set 2 : format #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -167 lines) Patch
M pkg/analyzer/lib/src/generated/resolver.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/lib/src/generated/static_type_analyzer.dart View 5 chunks +60 lines, -69 lines 0 comments Download
M pkg/analyzer/lib/src/generated/type_system.dart View 6 chunks +32 lines, -24 lines 2 comments Download
M pkg/analyzer/lib/src/summary/link.dart View 1 chunk +6 lines, -1 line 0 comments Download
M pkg/analyzer/test/generated/static_type_analyzer_test.dart View 1 chunk +4 lines, -1 line 0 comments Download
M pkg/analyzer/test/generated/strong_mode_test.dart View 1 chunk +6 lines, -0 lines 0 comments Download
M pkg/analyzer/test/generated/type_system_test.dart View 1 1 chunk +7 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/task/strong/inferred_type_test.dart View 18 chunks +90 lines, -69 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Jennifer Messerly
As we discussed in the issue, this makes list/map literals consistent with other things we ...
4 years, 3 months ago (2016-09-14 21:22:55 UTC) #2
Jennifer Messerly
BTW, I started to look at replacing matchType too, but it felt a bit cleaner ...
4 years, 3 months ago (2016-09-14 21:24:02 UTC) #3
Leaf
lgtm
4 years, 3 months ago (2016-09-14 23:10:46 UTC) #4
Leaf
https://codereview.chromium.org/2343713002/diff/20001/pkg/analyzer/lib/src/generated/type_system.dart File pkg/analyzer/lib/src/generated/type_system.dart (right): https://codereview.chromium.org/2343713002/diff/20001/pkg/analyzer/lib/src/generated/type_system.dart#newcode1611 pkg/analyzer/lib/src/generated/type_system.dart:1611: return genericType.instantiate(inferredTypes) as dynamic/*=T*/; Does this mean that .instantiate ...
4 years, 3 months ago (2016-09-14 23:11:35 UTC) #5
Jennifer Messerly
https://codereview.chromium.org/2343713002/diff/20001/pkg/analyzer/lib/src/generated/type_system.dart File pkg/analyzer/lib/src/generated/type_system.dart (right): https://codereview.chromium.org/2343713002/diff/20001/pkg/analyzer/lib/src/generated/type_system.dart#newcode1611 pkg/analyzer/lib/src/generated/type_system.dart:1611: return genericType.instantiate(inferredTypes) as dynamic/*=T*/; On 2016/09/14 23:11:35, Leaf wrote: ...
4 years, 3 months ago (2016-09-14 23:18:41 UTC) #6
Jennifer Messerly
4 years, 3 months ago (2016-09-14 23:35:34 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
79a9409f752dec820d4eb22bd1ea8604fac43455 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698