Skip to content

Tags: hswuhao/yaegi

Tags

v0.11.3

Toggle v0.11.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
interp: handle struct with multiple recursive fields (traefik#1372)

* interp: handle struct with multiple recursive fields

In case of a recursive struct with several recursive fields of
different type, only the first one was properly fixed when
constructing the corresponding reflect type. We now memorize and
process all fields at the same depth level.

Fixes traefik#1371.

* Update interp/type.go

Co-authored-by: mpl <[email protected]>

* fix lint

* fix comment

Co-authored-by: mpl <[email protected]>

v0.11.2

Toggle v0.11.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
interp: fix wrapping of returned closure passed to runtime

Fixes traefik#1333.

v0.11.1

Toggle v0.11.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
interp: fix setting of interface value from nested function calls

Fixes traefik#1320 and traefik#1294.

v0.11.0

Toggle v0.11.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
interp: fix populating array of interfaces

Fixes traefik#1308.

v0.10.0

Toggle v0.10.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
interp: do not export RealFS, used internally only

v0.9.23

Toggle v0.9.23's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
stdlib: remove wrapper of runtime/cgo

Temporarily removing this wrapper which causes a failure
on freebsd system at build.

Fixes traefik#1221.

v0.9.22

Toggle v0.9.22's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: update stdlib mapping for go1.17

* Drop go1.15
* Generate go1.17
* Update minimum extract version
* Update the CI config

v0.9.21

Toggle v0.9.21's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
interp: fix interface wrapper generation

Add early detection of cases where no wrapper is necessary because
the value type already implements the target interface.

It should both increase performances by avoiding the wrapper overhead,
and fix errors due to replacing valid values by incomplete wrappers,
caused by the presence of private methods in the interface definition,
as in traefik#1191.

Fixes traefik#1191.

v0.9.20

Toggle v0.9.20's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
interp: fix append of values to an array of interface objects

Interface wrappers were not properly generated.

Fixes traefik#1185

v0.9.19

Toggle v0.9.19's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
interp: improve handling of interface values

In selector resolution, struct field matching now precedes
method matching. Before struct field matching could be skipped
in case of a matching method, which is incorrect, as demontrated
by _test/issue-1156.go.

Field lookup has been fixed to operate on recursive structures.

Concrete type values are derived when filling a receiver for
interface methods.

LookupBinField has been fixed to skip non struct values.

LookupMethod has been fixed to iterate on interface values as
well as concrete type values.

Fixes traefik#1156.