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

Issue 1663533002: fixes #25640, errors on function downcasts when we know it's an exact type (Closed)

Created:
4 years, 10 months ago by Jennifer Messerly
Modified:
4 years, 10 months ago
Reviewers:
vsm
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

fixes #25640, errors on function downcasts when we know it's an exact type R=vsm@google.com Committed: https://github.com/dart-lang/sdk/commit/86a366403eba3d7eb80014d7124a1cbcb41d1138

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+295 lines, -88 lines) Patch
M pkg/analyzer/lib/src/task/strong/info.dart View 1 1 chunk +13 lines, -0 lines 0 comments Download
M pkg/analyzer/test/src/task/strong/checker_test.dart View 1 20 chunks +276 lines, -82 lines 0 comments Download
M pkg/analyzer/test/src/task/strong/inferred_type_test.dart View 3 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Jennifer Messerly
Easy fix! Lots of test updates. :) https://codereview.chromium.org/1663533002/diff/1/pkg/analyzer/test/src/task/strong/checker_test.dart File pkg/analyzer/test/src/task/strong/checker_test.dart (left): https://codereview.chromium.org/1663533002/diff/1/pkg/analyzer/test/src/task/strong/checker_test.dart#oldcode683 pkg/analyzer/test/src/task/strong/checker_test.dart:683: AToB bot(BToA ...
4 years, 10 months ago (2016-02-02 22:15:05 UTC) #2
vsm
lgtm https://codereview.chromium.org/1663533002/diff/1/pkg/analyzer/lib/src/task/strong/info.dart File pkg/analyzer/lib/src/task/strong/info.dart (right): https://codereview.chromium.org/1663533002/diff/1/pkg/analyzer/lib/src/task/strong/info.dart#newcode149 pkg/analyzer/lib/src/task/strong/info.dart:149: if (staticElement is FunctionElement) { Does this guarantee ...
4 years, 10 months ago (2016-02-03 23:52:00 UTC) #3
Jennifer Messerly
Thanks! Let me know thoughts RE: static methods. https://codereview.chromium.org/1663533002/diff/1/pkg/analyzer/lib/src/task/strong/info.dart File pkg/analyzer/lib/src/task/strong/info.dart (right): https://codereview.chromium.org/1663533002/diff/1/pkg/analyzer/lib/src/task/strong/info.dart#newcode149 pkg/analyzer/lib/src/task/strong/info.dart:149: if ...
4 years, 10 months ago (2016-02-04 00:41:30 UTC) #4
vsm
On 2016/02/04 00:41:30, John Messerly wrote: > Thanks! Let me know thoughts RE: static methods. ...
4 years, 10 months ago (2016-02-04 17:57:53 UTC) #5
Jennifer Messerly
Thanks! I went ahead and added static method support (it's an error), along with a ...
4 years, 10 months ago (2016-02-04 18:32:27 UTC) #6
Jennifer Messerly
4 years, 10 months ago (2016-02-04 18:33:25 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
86a366403eba3d7eb80014d7124a1cbcb41d1138 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698