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

Issue 689173004: Properly implement identical() test in analyzer constant evaluation. (Closed)

Created:
6 years, 1 month ago by Paul Berry
Modified:
6 years, 1 month ago
Reviewers:
scheglov
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Properly implement identical() test in analyzer constant evaluation. Previously we were treating identical(x, y) as equivalent to (x == y). However the semantics aren't the same. BUG=dartbug.com/21177 R=scheglov@google.com Committed: https://code.google.com/p/dart/source/detail?r=41475

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+237 lines, -4 lines) Patch
M pkg/analyzer/lib/src/generated/constant.dart View 17 chunks +104 lines, -1 line 0 comments Download
M pkg/analyzer/test/generated/all_the_rest.dart View 2 chunks +95 lines, -0 lines 0 comments Download
A tests/language/identical_const_test.dart View 1 chunk +37 lines, -0 lines 0 comments Download
M tests/language/language_analyzer.status View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/language_analyzer2.status View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
Paul Berry
6 years, 1 month ago (2014-11-03 23:12:04 UTC) #2
scheglov
LGTM
6 years, 1 month ago (2014-11-04 01:26:14 UTC) #3
Paul Berry
6 years, 1 month ago (2014-11-04 01:32:44 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as 41475 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698