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

Goto label undefined #1611

Open
wdonne opened this issue Feb 27, 2024 · 0 comments
Open

Goto label undefined #1611

wdonne opened this issue Feb 27, 2024 · 0 comments

Comments

@wdonne
Copy link

wdonne commented Feb 27, 2024

The following program sample.go triggers an unexpected result

https://github.com/mongodb/mongo-go-driver/blob/v1.14.0/bson/bsonrw/json_scanner.go

Expected result

$ go run vendor/go.mongodb.org/mongo-driver/bson/bsonrw/json_scanner.go
// package command-line-arguments is not a main package

Got

$ yaegi vendor/go.mongodb.org/mongo-driver/bson/bsonrw/json_scanner.go
// run: vendor/go.mongodb.org/mongo-driver/bson/bsonrw/json_scanner.go:218:3: undefined: evalNextEscapeChar

Yaegi Version

0.15.1

Additional Notes

This blocks a middleware I've written that does a MongoDB query.

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

No branches or pull requests

1 participant