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

Issue 578643004: Redefine union-type subtyping to be more permissive. (Closed)

Created:
6 years, 3 months ago by Nathan Collins
Modified:
6 years, 3 months ago
Reviewers:
jwren, Brian Wilkerson
CC:
reviews_dartlang.org, ricow1
Visibility:
Public.

Description

Redefine union-type subtyping to be more permissive. Here "permissive" is a euphemism for "unsound". However, since our type analyses are sound rather than complete, the less permissive notion of union-type subtyping could in theory lead to hints where the user knows their code is correct. R=brianwilkerson@google.com, jwren@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=40352

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -17 lines) Patch
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/UnionTypeImpl.java View 1 chunk +35 lines, -7 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/type/UnionTypeImplTest.java View 2 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Nathan Collins
6 years, 3 months ago (2014-09-16 20:36:31 UTC) #1
Brian Wilkerson
LGTM
6 years, 3 months ago (2014-09-16 21:15:56 UTC) #2
Nathan Collins
6 years, 3 months ago (2014-09-16 21:51:21 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as 40352 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698