1.1 --- a/translator.py Sat Feb 04 16:34:42 2017 +0100
1.2 +++ b/translator.py Sat Feb 04 17:49:05 2017 +0100
1.3 @@ -1155,7 +1155,8 @@
1.4 if expr.has_kind("<class>"):
1.5 instantiation = objpath
1.6 target = encode_instantiator_pointer(objpath)
1.7 - target_structure = "&%s" % encode_path("%s.__init__" % objpath)
1.8 + init_ref = self.importer.all_class_attrs[objpath]["__init__"]
1.9 + target_structure = "&%s" % encode_path(init_ref)
1.10 context_required = False
1.11
1.12 # Only plain functions and bound methods employ function pointers.