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

Issue 2273393003: Remove mask parameter from TypeMask.locateSingleElement (Closed)

Created:
4 years, 3 months ago by sra1
Modified:
4 years, 3 months ago
Reviewers:
Johnni Winther
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Remove mask parameter from TypeMask.locateSingleElement BUG= R=johnniwinther@google.com Committed: https://github.com/dart-lang/sdk/commit/200c53654a4b57addbbdac53f0911874a294720c

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -12 lines) Patch
M pkg/compiler/lib/src/types/flat_type_mask.dart View 1 chunk +2 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/types/forwarding_type_mask.dart View 1 chunk +2 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/types/type_mask.dart View 1 chunk +1 line, -2 lines 0 comments Download
M pkg/compiler/lib/src/types/union_type_mask.dart View 1 chunk +2 lines, -3 lines 1 comment Download
M pkg/compiler/lib/src/world.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (2 generated)
sra1
This looks to me like an oversight from removing TypedSelector. What do you think? I ...
4 years, 3 months ago (2016-08-26 00:45:27 UTC) #2
Johnni Winther
I've always wondered why TypeMask.locateSingleElement took a TypeMask ;) Can you make unittest that validates ...
4 years, 3 months ago (2016-08-26 08:59:02 UTC) #3
sra1
Committed patchset #1 (id:1) manually as 200c53654a4b57addbbdac53f0911874a294720c (presubmit successful).
4 years, 3 months ago (2016-08-26 16:33:27 UTC) #5
sra1
4 years, 3 months ago (2016-08-26 16:35:06 UTC) #6
Message was sent while issue was closed.
On 2016/08/26 08:59:02, Johnni Winther wrote:
> I've always wondered why TypeMask.locateSingleElement took a TypeMask ;)
> 
> Can you make unittest that validates the effect?

The effect should be nothing since 'mask' is redundant with 'this'.
I compiled lots of tests and a few apps and there was no difference.

> 
> Otherwise LGTM

Powered by Google App Engine
This is Rietveld 408576698