| Index: runtime/vm/parser.cc
|
| ===================================================================
|
| --- runtime/vm/parser.cc (revision 23110)
|
| +++ runtime/vm/parser.cc (working copy)
|
| @@ -8353,10 +8353,7 @@
|
| imported_obj = LookupNameInImport(import, name);
|
| if (!imported_obj.IsNull()) {
|
| lib ^= import.library();
|
| - // TODO(8474): Remove the "Expect" special casing.
|
| - if (!first_lib_url.IsNull()
|
| - && (strcmp(name.ToCString(), "Expect") != 0)
|
| - && (strcmp(name.ToCString(), "ExpectException") != 0)) {
|
| + if (!first_lib_url.IsNull()) {
|
| // Found duplicate definition.
|
| Error& ambiguous_ref_error = Error::Handle();
|
| if (first_lib_url.raw() == lib.url()) {
|
|
|