Chromium Code Reviews| Index: runtime/vm/object.cc |
| =================================================================== |
| --- runtime/vm/object.cc (revision 1941) |
| +++ runtime/vm/object.cc (working copy) |
| @@ -2463,7 +2463,10 @@ |
| const char* TypeArguments::ToCString() const { |
| - // TypeArguments is an abstract class. |
| + // TypeArguments is an abstract class, however it may wrap a null. |
| + if (IsNull()) { |
| + return "NULL TypeArguments"; |
| + } |
| UNREACHABLE(); |
| return "TypeArguments"; |
| } |