Bug 846955 - Codegen Argument definitions using .define() in ClassDestructor::define. r=bz

This commit is contained in:
Andrew McCreight 2013-03-01 16:32:24 -08:00
parent 1ea05be2db
commit 202c9da2c7

View File

@ -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 '))