| Index: lib/error.cc
|
| ===================================================================
|
| --- lib/error.cc (revision 11528)
|
| +++ lib/error.cc (working copy)
|
| @@ -46,6 +46,7 @@
|
| // Throw AssertionError instance.
|
| Exceptions::Throw(assertion_error);
|
| UNREACHABLE();
|
| + return Object::null();
|
| }
|
|
|
|
|
| @@ -68,6 +69,8 @@
|
| String::Handle(Type::Handle(src_value.GetType()).UserVisibleName());
|
| Exceptions::CreateAndThrowTypeError(location, src_type_name,
|
| dst_type_name, dst_name, malformed_error);
|
| + UNREACHABLE();
|
| + return Object::null();
|
| }
|
|
|
|
|
| @@ -98,6 +101,7 @@
|
| // Throw FallThroughError instance.
|
| Exceptions::Throw(fallthrough_error);
|
| UNREACHABLE();
|
| + return Object::null();
|
| }
|
|
|
|
|
| @@ -126,6 +130,7 @@
|
|
|
| Exceptions::Throw(resolution_exception);
|
| UNREACHABLE();
|
| + return Object::null();
|
| }
|
|
|
| } // namespace dart
|
|
|