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

Issue 34523011: Issue 13807. Support for type promotion rules. (Closed)

Created:
7 years, 2 months ago by scheglov
Modified:
7 years, 2 months ago
Reviewers:
jwren, Brian Wilkerson
CC:
reviews_dartlang.org, lukeechurch_gmail.com
Visibility:
Public.

Description

Issue 13807. Support for type promotion rules. https://code.google.com/p/dart/issues/detail?id=13807 Basic version. No union types (and hopefully no need for them). So, language tests should be triaged. No support for ?: yet. R=brianwilkerson@google.com, jwren@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=29095

Patch Set 1 #

Total comments: 28

Patch Set 2 : Updates after review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+635 lines, -8 lines) Patch
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/LocalVariableElementImpl.java View 1 2 chunks +17 lines, -0 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/ParameterElementImpl.java View 1 2 chunks +17 lines, -0 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/VariableElementImpl.java View 1 1 chunk +10 lines, -0 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/ResolverVisitor.java View 1 10 chunks +220 lines, -0 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/StaticTypeAnalyzer.java View 1 3 chunks +10 lines, -1 line 0 comments Download
A editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/TypePromotionManager.java View 1 1 chunk +152 lines, -0 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/resolver/VariableResolverVisitor.java View 2 chunks +11 lines, -1 line 0 comments Download
M editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonErrorResolverTest.java View 1 1 chunk +113 lines, -0 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticTypeWarningCodeTest.java View 1 chunk +80 lines, -0 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StrictModeTest.java View 2 chunks +2 lines, -2 lines 0 comments Download
M editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/TypePropagationTest.java View 2 chunks +1 line, -2 lines 0 comments Download
M tests/language/language_analyzer.status View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
scheglov
7 years, 2 months ago (2013-10-23 07:02:58 UTC) #1
jwren
LGTM. I saw two nits. I'd let Brian look through it as he has read ...
7 years, 2 months ago (2013-10-23 07:37:12 UTC) #2
Brian Wilkerson
LGTM! Thanks for doing this! https://codereview.chromium.org/34523011/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/LocalVariableElementImpl.java File editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/LocalVariableElementImpl.java (right): https://codereview.chromium.org/34523011/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/LocalVariableElementImpl.java#newcode29 editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/LocalVariableElementImpl.java:29: * Is {@code true} ...
7 years, 2 months ago (2013-10-23 15:23:26 UTC) #3
scheglov
https://codereview.chromium.org/34523011/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/LocalVariableElementImpl.java File editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/LocalVariableElementImpl.java (right): https://codereview.chromium.org/34523011/diff/1/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/LocalVariableElementImpl.java#newcode29 editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/element/LocalVariableElementImpl.java:29: * Is {@code true} is this variables is potentially ...
7 years, 2 months ago (2013-10-23 16:08:28 UTC) #4
scheglov
7 years, 2 months ago (2013-10-23 16:09:39 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r29095 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698