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

Issue 2381773002: fix #27410, subtype should not use DartType.== (Closed)

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

Description

fix #27410, subtype should not use DartType.== This should improve performance of subtype tests & simplify things, as we are not recursing structurally over the types multiple times. R=leafp@google.com Committed: https://github.com/dart-lang/sdk/commit/d614c8dcd40fc1b11200928cad0f3b65f9983bd8

Patch Set 1 #

Total comments: 4

Patch Set 2 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -11 lines) Patch
M pkg/analyzer/lib/src/generated/type_system.dart View 1 4 chunks +14 lines, -11 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Jennifer Messerly
4 years, 2 months ago (2016-09-29 01:40:33 UTC) #3
Leaf
lgtm https://codereview.chromium.org/2381773002/diff/1/pkg/analyzer/lib/src/generated/type_system.dart File pkg/analyzer/lib/src/generated/type_system.dart (left): https://codereview.chromium.org/2381773002/diff/1/pkg/analyzer/lib/src/generated/type_system.dart#oldcode909 pkg/analyzer/lib/src/generated/type_system.dart:909: if (t1 == t2) { consider keeping an ...
4 years, 2 months ago (2016-09-29 05:19:19 UTC) #4
Jennifer Messerly
thanks, addressed those. https://codereview.chromium.org/2381773002/diff/1/pkg/analyzer/lib/src/generated/type_system.dart File pkg/analyzer/lib/src/generated/type_system.dart (left): https://codereview.chromium.org/2381773002/diff/1/pkg/analyzer/lib/src/generated/type_system.dart#oldcode909 pkg/analyzer/lib/src/generated/type_system.dart:909: if (t1 == t2) { On ...
4 years, 2 months ago (2016-09-29 07:11:12 UTC) #5
Jennifer Messerly
Committed patchset #2 (id:20001) manually as d614c8dcd40fc1b11200928cad0f3b65f9983bd8 (presubmit successful).
4 years, 2 months ago (2016-09-29 07:11:40 UTC) #7
Bob Nystrom
lgtm
4 years, 2 months ago (2016-09-29 17:10:28 UTC) #9
Jennifer Messerly
4 years, 2 months ago (2016-09-29 17:31:40 UTC) #10
Message was sent while issue was closed.
On 2016/09/29 17:10:28, Bob Nystrom wrote:
> lgtm

fyi there was some breakage caused by this, only happens with circular types:
https://github.com/dart-lang/sdk/issues/27454

I'm looking into it.

Powered by Google App Engine
This is Rietveld 408576698