Please sign in to comment.
Make safely_stringify routine safer
Right now it doesn't check whether the Int/Str/List objects are actually instances before trying to unbox them or peek at their attributes, which causes explosions if the exception being stringified has one of those types objects as a value. Fix by printing '(Int)'/'(Str)'/'(List)' if the things are type objects and aren't instances.
- Loading branch information...