Skip to content

cmd/go: internal cgo types not being rewritten in errors #76339

@rsc

Description

@rsc
% go build
# rsc.io/tmp/ftoa/dmg
./dmg.go:171:9: cannot use (_Cfunc_loopdmgstrtod)(_Ctype_int(which), _Ctype_longlong(n), p) (value of float64 type _Ctype_double) as float64 value in return statement

The go command used to post-process these compiler errors to replace _Cfunc_loopdmgstrtod with C.loopdmgstrtod, etc. Something has broken and it no longer does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions