Index: runtime/vm/parser.cc |
diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc |
index 2234924df99584d4c4dc35139ccf605afdecbe6f..d6431cfcfbc6061cf90b8a02487594276acde338 100644 |
--- a/runtime/vm/parser.cc |
+++ b/runtime/vm/parser.cc |
@@ -8201,7 +8201,9 @@ RawObject* Parser::ResolveNameInCurrentLibraryScope(intptr_t ident_pos, |
imported_obj = LookupNameInImport(import, name); |
if (!imported_obj.IsNull()) { |
const Library& lib = Library::Handle(import.library()); |
- if (!first_lib_url.IsNull()) { |
+ if (!first_lib_url.IsNull() |
regis
2013/02/06 19:40:48
I would add a TODO here to remove this temporary c
floitsch
2013/02/11 17:59:32
Yes. I will add a TODO(issue-number) once I have f
|
+ && (strcmp(name.ToCString(), "Expect") != 0) |
+ && (strcmp(name.ToCString(), "ExpectException") != 0)) { |
// Found duplicate definition. |
Error& ambiguous_ref_error = Error::Handle(); |
if (first_lib_url.raw() == lib.url()) { |