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

Issue 10600003: Type cast fix. (Closed)

Created:
8 years, 6 months ago by gram
Modified:
8 years, 6 months ago
Reviewers:
eub, srdjan
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M lib/unittest/core_matchers.dart View 1 chunk +2 lines, -1 line 1 comment Download

Messages

Total messages: 3 (0 generated)
gram
8 years, 6 months ago (2012-06-20 23:38:34 UTC) #1
eub
lgtm
8 years, 6 months ago (2012-06-20 23:40:52 UTC) #2
srdjan
8 years, 6 months ago (2012-06-21 00:07:33 UTC) #3
https://chromiumcodereview.appspot.com/10600003/diff/1/lib/unittest/core_matc...
File lib/unittest/core_matchers.dart (right):

https://chromiumcodereview.appspot.com/10600003/diff/1/lib/unittest/core_matc...
lib/unittest/core_matchers.dart:111: if (r != null) reason = r.toString();
Why guard it (r != null)?

(null).toString() should return a valid string.

Powered by Google App Engine
This is Rietveld 408576698