mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
codegen: Use the non-mangled name in set_dictionary_property
Fixes #11152
This commit is contained in:
parent
9eb7162b8a
commit
203898c941
1 changed files with 1 additions and 1 deletions
|
@ -5301,7 +5301,7 @@ class CGDictionary(CGThing):
|
|||
insertion = ("let mut %s = RootedValue::new(cx, UndefinedValue());\n"
|
||||
"self.%s.to_jsval(cx, %s.handle_mut());\n"
|
||||
"set_dictionary_property(cx, obj.handle(), \"%s\", %s.handle()).unwrap();"
|
||||
% (name, name, name, name, name))
|
||||
% (name, name, name, member.identifier.name, name))
|
||||
return CGGeneric("%s\n" % insertion)
|
||||
|
||||
memberInits = CGList([memberInit(m) for m in self.memberInfo])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue