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

Issue 2675963004: fix #28630, instance method tear-offs are treated as strict arrows (Closed)

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

Description

fix #28630, instance method tear-offs are treated as strict arrows R=leafp@google.com Committed: https://github.com/dart-lang/sdk/commit/ac85576979a199b3d9307448077a2792eec7acff

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 3

Patch Set 3 : fix #

Patch Set 4 : fix sdk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -17 lines) Patch
M pkg/analyzer/lib/src/generated/error_verifier.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/analyzer/lib/src/task/strong/checker.dart View 1 2 4 chunks +5 lines, -13 lines 0 comments Download
M pkg/analyzer/test/src/task/strong/checker_test.dart View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
M pkg/dev_compiler/tool/sdk_expected_errors.txt View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Jennifer Messerly
3 years, 10 months ago (2017-02-03 20:12:06 UTC) #2
Leaf
https://codereview.chromium.org/2675963004/diff/20001/pkg/analyzer/lib/src/task/strong/checker.dart File pkg/analyzer/lib/src/task/strong/checker.dart (right): https://codereview.chromium.org/2675963004/diff/20001/pkg/analyzer/lib/src/task/strong/checker.dart#newcode1085 pkg/analyzer/lib/src/task/strong/checker.dart:1085: if (hasStrictArrow(expr)) { This needs to stay isKnownFunction (see ...
3 years, 10 months ago (2017-02-03 20:28:41 UTC) #3
Jennifer Messerly
https://codereview.chromium.org/2675963004/diff/20001/pkg/analyzer/test/src/task/strong/checker_test.dart File pkg/analyzer/test/src/task/strong/checker_test.dart (right): https://codereview.chromium.org/2675963004/diff/20001/pkg/analyzer/test/src/task/strong/checker_test.dart#newcode1677 pkg/analyzer/test/src/task/strong/checker_test.dart:1677: f = /*error:INVALID_CAST_METHOD*/c.top; On 2017/02/03 20:28:41, Leaf wrote: > ...
3 years, 10 months ago (2017-02-03 21:02:50 UTC) #4
Jennifer Messerly
PTAL, I've addressed your comments :)
3 years, 10 months ago (2017-02-03 21:05:41 UTC) #5
Leaf
lgtm
3 years, 10 months ago (2017-02-03 21:17:51 UTC) #6
Jennifer Messerly
3 years, 10 months ago (2017-02-03 21:21:28 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
ac85576979a199b3d9307448077a2792eec7acff (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698