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

Issue 11415115: Handle null in augmentField (Closed)

Created:
8 years, 1 month ago by polux
Modified:
8 years ago
Reviewers:
karlklose
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Handle null in augmentField Committed: https://code.google.com/p/dart/source/detail?r=15508

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -4 lines) Patch
M sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart View 1 chunk +5 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/cpa_inference_test.dart View 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
polux
A small bug I discovered when handling lists.
8 years, 1 month ago (2012-11-22 12:27:58 UTC) #1
karlklose
LGTM for this change, but a general question: since we know that everything after [:null.x:] ...
8 years ago (2012-11-28 08:06:38 UTC) #2
polux
8 years ago (2012-11-29 10:23:16 UTC) #3
On 2012/11/28 08:06:38, karlklose wrote:
> LGTM for this change, but a general question: since we know that everything
> after [:null.x:] is dead code, should the result be [] for all of the
variables?

Good point, that's an optimization I'll keep in mind.

Powered by Google App Engine
This is Rietveld 408576698