Skip to content

fix(extgen): make Go type compatibility check symmetric and drop float32 coercion#2380

Merged
dunglas merged 1 commit into
php:mainfrom
alexandre-daubois:fix/extgen-type-compat
May 12, 2026
Merged

fix(extgen): make Go type compatibility check symmetric and drop float32 coercion#2380
dunglas merged 1 commit into
php:mainfrom
alexandre-daubois:fix/extgen-type-compat

Conversation

@alexandre-daubois
Copy link
Copy Markdown
Member

Previously *float64 silently accepted *float32, while float64 rejected float32, which lets broken bindings compile.

@dunglas dunglas merged commit 9b51111 into php:main May 12, 2026
12 checks passed
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.

2 participants