Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use the same signature for the same function (#402) #422

Merged

Conversation

m15o
Copy link
Contributor

@m15o m15o commented May 29, 2024

Use the same definition for pactffi_given and pactffi_given_with_param

As described in this issue (golang/go#67670 (comment)),
duplicated but inconsistent definition in pact-go/internal/native/mock_server.go, pact-go/internal/native/message_server.go causes the problem.

Closes #402

@mefellows mefellows merged commit 8a9bc48 into pact-foundation:master May 30, 2024
7 checks passed
@mefellows
Copy link
Member

Wow, that is amazing work from the Go team. I can't believe they looked at it so quickly, and spent so much time digging 👏 . Colour me 😲 .

Thanks for the PR!

@coveralls
Copy link

Coverage Status

coverage: 37.119%. remained the same
when pulling 3041d36 on m15o:fix-incompatible-cgo-definition
into 01c155f on pact-foundation:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Runtime error occurs with golang 1.22.x
3 participants