Bug 817194 followup to work around emergent namespace+template MSVC bugginess: it was seeing mozilla::dom::detail in TypeTraits.h because it looks at namespaces at template _instantiation_, not declaration. Or something. Leading, of course, to a CLOSED TREE.

This commit is contained in:
Boris Zbarsky 2013-10-09 14:12:17 -04:00
parent e37c4f6637
commit 0630264884

View File

@ -3548,7 +3548,7 @@ for (uint32_t i = 0; i < length; ++i) {
# Since we're not a member and not nullable or optional, no one will
# see our real type, so we can do the fast version of the dictionary
# that doesn't pre-initialize members.
typeName = "detail::Fast" + typeName
typeName = "dictionary_detail::Fast" + typeName
declType = CGGeneric(typeName)
@ -8443,7 +8443,7 @@ if (""",
isStruct=True)
return CGList([struct,
CGNamespace.build(['detail'],
CGNamespace.build(['dictionary_detail'],
fastStruct)],
"\n")