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

Issue 185553018: Always evaluate e in (e is T) (Closed)

Created:
6 years, 9 months ago by hausner
Modified:
6 years, 9 months ago
Reviewers:
regis
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Florian Schneider
Visibility:
Public.

Description

Always evaluate e in (e is T) (e is T) is compiled to a throw TypeError when T is malformed. This change makes sure that e is evaluated even though it is ignored. We need to do this due to possible side effects. Fixes issue 17253 R=regis@google.com Committed: https://code.google.com/p/dart/source/detail?r=33299

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -7 lines) Patch
M runtime/vm/parser.cc View 1 chunk +8 lines, -5 lines 0 comments Download
M tests/language/language.status View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
hausner
6 years, 9 months ago (2014-03-04 19:51:57 UTC) #1
regis
LGTM
6 years, 9 months ago (2014-03-04 20:08:06 UTC) #2
hausner
6 years, 9 months ago (2014-03-04 20:44:55 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r33299 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698