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

Issue 599293002: Implement strict and non-strict union types behind flag [strictUnionTypes]. (Closed)

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

Description

Implement strict and non-strict union types behind flag [strictUnionTypes]. This only covers existing union types code. In particular, there is still no support for fields on union types (treated as dynamic currently, so no hints ever). It remains to implement strict and non-strict versions of the completion UI. That's in progress and will go up in another CL because this CL was getting too big. R=brianwilkerson@google.com, jwren@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=40679

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address @brianwilkerson comments. #

Messages

Total messages: 5 (0 generated)
Nathan Collins
6 years, 3 months ago (2014-09-24 23:35:40 UTC) #1
Brian Wilkerson
LGTM https://codereview.chromium.org/599293002/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/TypeImpl.java File editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/TypeImpl.java (right): https://codereview.chromium.org/599293002/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/TypeImpl.java#newcode184 editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/TypeImpl.java:184: for (Type l : ((UnionType) this).getElements()) { "l" ...
6 years, 2 months ago (2014-09-25 13:51:40 UTC) #2
Nathan Collins
Address @brianwilkerson comments.
6 years, 2 months ago (2014-09-25 16:15:45 UTC) #3
Nathan Collins
https://codereview.chromium.org/599293002/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/TypeImpl.java File editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/TypeImpl.java (right): https://codereview.chromium.org/599293002/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/TypeImpl.java#newcode184 editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/TypeImpl.java:184: for (Type l : ((UnionType) this).getElements()) { On 2014/09/25 ...
6 years, 2 months ago (2014-09-25 16:16:17 UTC) #4
Nathan Collins
6 years, 2 months ago (2014-09-25 16:16:46 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as 40679 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698