-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
interp: improve processing of recursive types
Make sure to keep always a single copy of incomplete type structures. Remove remnants of recursive types processing. Now `import "go.uber.org/zap"` works again (see #1172), fixing regressions introduced by #1236.
- Loading branch information
Showing
4 changed files
with
100 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
81e5a47
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It fixes uber/zap but we are back to the previous issue #1227
81e5a47
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jptosso there is no visible regression in the test corresponding to issue #1227: https://github.com/traefik/yaegi/blob/master/_test/assert2.go.
Please provide a reproducible test case, with no external dependency if possible, so we can investigate and fix, thanks.
81e5a47
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jptosso This is an entirely different issue to #1227 coming from https://github.com/antchfx/xpath/blob/cd2afb821d43992abcefe1c70b1b41af5b640179/operator.go#L41.
81e5a47
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jptosso @mvertes I have opened an issue for this #1249. I will take a look at this, hopefully this weekend.