You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unsafe functions such as `unsafe.Alignof`, `unsafe.Offsetof` and
`unsafe.Sizeof` can be used for type declarations early on during
compile, and as such, must be treated as builtins returning constants
at compile time. It is still necessary to explicitely enable unsafe
support in yaegi.
The support of `unsafe.Add` has also been added.
Fixestraefik#1544.
Unsafe functions such as `unsafe.Alignof`, `unsafe.Offsetof` and `unsafe.Sizeof` can be used for type declarations early on during compile, and as such, must be treated as builtins returning constants at compile time. It is still necessary to explicitely enable unsafe support in yaegi.
The support of `unsafe.Add` has also been added.
Fixes#1544.
The following program
sample.go
triggers an unexpected resultExpected result
Got
Yaegi Version
v0.15.1
Additional Notes
No response
The text was updated successfully, but these errors were encountered: