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

Issue 10843053: Improve the error message for handle check failure to list the actual (Closed)

Created:
8 years, 4 months ago by turnidge
Modified:
6 years, 8 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Improve the error message for handle check failure to list the actual and expected types: error: Handle check failed: saw <whatever> expected <whatever> Committed: https://code.google.com/p/dart/source/detail?r=10253

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M vm/object.h View 1 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
turnidge
8 years, 4 months ago (2012-08-02 17:45:03 UTC) #1
Ivan Posva
LGTM -ip
8 years, 4 months ago (2012-08-03 20:11:53 UTC) #2
Ivan Posva
8 years, 4 months ago (2012-08-03 20:13:10 UTC) #3
https://chromiumcodereview.appspot.com/10843053/diff/1/vm/object.h
File vm/object.h (right):

https://chromiumcodereview.appspot.com/10843053/diff/1/vm/object.h#newcode66
vm/object.h:66: obj->GetClassName(), #object);                                  
 \
What would happen if you used ToCString() here, instead of adding
GetClassName()?

Powered by Google App Engine
This is Rietveld 408576698