-
Notifications
You must be signed in to change notification settings - Fork 342
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
jsoniter stack overflow #1431
Comments
A problem here is that in For ex. in https://github.com/modern-go/reflect2/blob/master/go_below_118.go line 12:
There is no way yaegi (or another interpreter) can solve that from the pre-compiled runtime. Of course yaegi should not panic here and gracefully abort those pathological cases. This is what I will fix, but unfortunately it will not make your code work. |
Such function declaration denotes either a linkname (an access to an arbitrary, typically unexported symbol, solved by go compiler), or a foreign C or assembly implementation of the body. Those cases are not supported (or planned to be) by the interpreter. Fixes traefik#1431.
All good! That makes perfect sense. |
Such function declaration denotes either a linkname (an access to an arbitrary, typically unexported symbol, solved by go compiler), or a foreign C or assembly implementation of the body. Those cases are not supported (or planned to be) by the interpreter. Fixes traefik#1431.
Such function declaration denotes either a linkname (an access to an arbitrary, typically unexported symbol, solved by go compiler), or a foreign C or assembly implementation of the body. Those cases are not supported (or planned to be) by the interpreter. Fixes #1431.
The following program
sample.go
triggers an unexpected resultExpected result
Got
Yaegi Version
v0.13.0
Additional Notes
Put the following code in a directory named
source
and runThe text was updated successfully, but these errors were encountered: