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

Issue 1409143009: fixes #24713, remove old generic substitution code in _getTypeOfProperty (Closed)

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

Description

fixes #24713, remove old generic substitution code in _getTypeOfProperty it looks like some old code was hanging around that tried to substitute generic type parameters by name. This is unnecessary because we already have a substituted type at this point, and the type variable we were substituting had no relationship at all with the parameter. After removing the code, all tests seem to be passing. R=brianwilkerson@google.com Committed: https://github.com/dart-lang/sdk/commit/396ed51cf04cfdfd3f33e6803a32e6a9cbfeefcf

Patch Set 1 #

Total comments: 1

Patch Set 2 : remove unused parameter & format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -40 lines) Patch
M pkg/analyzer/lib/src/generated/static_type_analyzer.dart View 1 8 chunks +9 lines, -40 lines 0 comments Download
M pkg/analyzer/test/generated/static_type_warning_code_test.dart View 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Jennifer Messerly
5 years, 2 months ago (2015-10-24 00:26:42 UTC) #3
Jennifer Messerly
https://codereview.chromium.org/1409143009/diff/1/pkg/analyzer/lib/src/generated/static_type_analyzer.dart File pkg/analyzer/lib/src/generated/static_type_analyzer.dart (right): https://codereview.chromium.org/1409143009/diff/1/pkg/analyzer/lib/src/generated/static_type_analyzer.dart#newcode1638 pkg/analyzer/lib/src/generated/static_type_analyzer.dart:1638: PropertyAccessorElement accessor, DartType context) { oops, just noticed: I ...
5 years, 2 months ago (2015-10-24 00:28:54 UTC) #4
Jennifer Messerly
PTAL. Ready now :)
5 years, 2 months ago (2015-10-24 00:32:36 UTC) #5
Brian Wilkerson
LGTM. Thanks!
5 years, 2 months ago (2015-10-24 00:39:01 UTC) #6
Jennifer Messerly
5 years, 2 months ago (2015-10-24 19:48:57 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
396ed51cf04cfdfd3f33e6803a32e6a9cbfeefcf (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698