Index: lib/error.cc |
=================================================================== |
--- lib/error.cc (revision 11327) |
+++ lib/error.cc (working copy) |
@@ -46,6 +46,7 @@ |
// Throw AssertionError instance. |
Exceptions::Throw(assertion_error); |
UNREACHABLE(); |
+ return Object::null(); |
} |
@@ -68,6 +69,7 @@ |
String::Handle(Type::Handle(src_value.GetType()).UserVisibleName()); |
Exceptions::CreateAndThrowTypeError(location, src_type_name, |
dst_type_name, dst_name, malformed_error); |
+ return Object::null(); |
Ivan Posva
2012/08/27 18:20:37
Add an UNREACHABLE before this line like above?
turnidge
2012/08/29 20:36:49
Done.
|
} |
@@ -98,6 +100,7 @@ |
// Throw FallThroughError instance. |
Exceptions::Throw(fallthrough_error); |
UNREACHABLE(); |
+ return Object::null(); |
} |
@@ -126,6 +129,7 @@ |
Exceptions::Throw(resolution_exception); |
UNREACHABLE(); |
+ return Object::null(); |
} |
} // namespace dart |