Page MenuHomePhabricator

[Bindings][Go] Fix go.test failure due to missing argument

Authored by lkail on Nov 16 2019, 6:06 PM.



go.test failed with error

# []
/tmp/gopath431502532/src/ not enough arguments in call to _Cfunc_LLVMDIBuilderCreateTypedef                                               
        have (_Ctype_LLVMDIBuilderRef, _Ctype_LLVMMetadataRef, *_Ctype_char, _Ctype_ulong, _Ctype_LLVMMetadataRef, _Ctype_uint, _Ctype_LLVMMetadataRef)                                      
        want (*_Ctype_struct_LLVMOpaqueDIBuilder, *_Ctype_struct_LLVMOpaqueMetadata, *_Ctype_char, _Ctype_ulong, *_Ctype_struct_LLVMOpaqueMetadata, _Ctype_uint, *_Ctype_struct_LLVMOpaqueMetadata, _Ctype_uint)

This patch fixes above error.

Diff Detail

Event Timeline

lkail created this revision.Nov 16 2019, 6:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 16 2019, 6:06 PM
lkail edited the summary of this revision. (Show Details)Nov 16 2019, 6:14 PM
This revision is now accepted and ready to land.Nov 18 2019, 5:25 AM
This revision was automatically updated to reflect the committed changes.