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

Issue 22955003: Fix inference bugs found by sra@ by changing how we merge if/then/else locals. (Closed)

Created:
7 years, 4 months ago by ngeoffray
Modified:
7 years, 4 months ago
Reviewers:
ahe, sra1
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix inference bugs found by sra@ by changing how we merge if/then/else locals. R=sra@google.com Committed: https://code.google.com/p/dart/source/detail?r=26171

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -13 lines) Patch
M sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart View 2 chunks +36 lines, -13 lines 2 comments Download
M tests/compiler/dart2js/simple_inferrer_test.dart View 3 chunks +22 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
ngeoffray
7 years, 4 months ago (2013-08-14 09:24:06 UTC) #1
sra1
lgtm https://chromiumcodereview.appspot.com/22955003/diff/1/sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart File sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart (right): https://chromiumcodereview.appspot.com/22955003/diff/1/sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart#newcode394 sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart:394: fieldScope.mergeDiamondFlow(thenBranch.fieldScope, elseBranch.fieldScope); Is there a case where the ...
7 years, 4 months ago (2013-08-14 21:35:19 UTC) #2
ngeoffray
Thanks Stephen. https://chromiumcodereview.appspot.com/22955003/diff/1/sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart File sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart (right): https://chromiumcodereview.appspot.com/22955003/diff/1/sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart#newcode394 sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart:394: fieldScope.mergeDiamondFlow(thenBranch.fieldScope, elseBranch.fieldScope); On 2013/08/14 21:35:19, sra1 wrote: ...
7 years, 4 months ago (2013-08-15 07:01:34 UTC) #3
ngeoffray
7 years, 4 months ago (2013-08-15 08:04:36 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r26171 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698