This commit fixes two related issues:
1. CanInterface was unimplemented. It now uses the same check as is
used in Interface() itself.
This issue led to https://github.com/tinygo-org/tinygo/issues/3033
2. Allow making an interface out of a string char element.
Doing this in one commit (instead of two) because they are shown to be
correct with the same tests.
|
||
|---|---|---|
| .. | ||
| all_test.go | ||
| deepequal.go | ||
| makefunc.go | ||
| sidetables.go | ||
| strconv.go | ||
| swapper.go | ||
| type.go | ||
| value.go | ||
| value_test.go | ||