diff --git a/src/reflect/all_test.go b/src/reflect/all_test.go index 1fe0b000..4f9f223f 100644 --- a/src/reflect/all_test.go +++ b/src/reflect/all_test.go @@ -1696,7 +1696,7 @@ func TestNilMap(t *testing.T) { mv.SetMapIndex(ValueOf("hi"), Value{}) } -/* +/* // TODO(tinygo): missing chan reflect support func TestChan(t *testing.T) { for loop := 0; loop < 2; loop++ { @@ -2166,6 +2166,8 @@ func fmtSelect(info []caseInfo) string { return buf.String() } +// TODO(tinygo): missing func/method/call support + type two [2]uintptr // Difficult test for function call because of @@ -2490,7 +2492,7 @@ func (p *Point) Int32Method(x int32) int32 { } /* - +// TODO(tinygo): missing method support func TestMethod(t *testing.T) { // Non-curried method of type. p := Point{3, 4} @@ -2947,13 +2949,13 @@ func TestInterfaceSet(t *testing.T) { } } +*/ + type T1 struct { a string int } -/* - func TestAnonymousFields(t *testing.T) { var field StructField var ok bool @@ -2967,8 +2969,6 @@ func TestAnonymousFields(t *testing.T) { } } -*/ - type FTest struct { s any name string