mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 846955 - Codegen Argument definitions using .define() in ClassDestructor::define. r=bz
This commit is contained in:
parent
1ea05be2db
commit
202c9da2c7
@ -5434,7 +5434,7 @@ class ClassConstructor(ClassItem):
|
||||
if self.bodyInHeader:
|
||||
return ''
|
||||
|
||||
args = ', '.join([str(a) for a in self.args])
|
||||
args = ', '.join([a.define() for a in self.args])
|
||||
|
||||
body = ' ' + self.getBody()
|
||||
body = '\n' + stripTrailingWhitespace(body.replace('\n', '\n '))
|
||||
|
Loading…
Reference in New Issue
Block a user