Fix for bug 850847 (Fix dictionary in generated example for workers). r=bz.

--HG--
extra : rebase_source : 75117320f23b5af82eb0ee7648c3e0dd876fe19e
This commit is contained in:
Peter Van der Beken 2012-12-17 15:32:10 +01:00
parent aa666e80b3
commit 5f34e713cd

View File

@ -7605,7 +7605,9 @@ class CGNativeMember(ClassMethod):
return (declType % "JSObject"), False, False return (declType % "JSObject"), False, False
if type.isDictionary(): if type.isDictionary():
return type.inner.identifier.name, True, True typeName = CGDictionary.makeDictionaryName(type.inner,
self.descriptor.workers)
return typeName, True, True
assert type.isPrimitive() assert type.isPrimitive()