aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/reflect
diff options
context:
space:
mode:
authorDamian Gryski <[email protected]>2023-04-01 11:34:27 -0700
committerAyke <[email protected]>2023-04-01 22:46:46 +0200
commit9e7882b1b7bb19f1a626470945d00b87851825f6 (patch)
treec813392f096723d5ab4560e805c4143597a1bac6 /src/reflect
parent0c4f9d1f1951cae0ee8fac1b941463897aebd054 (diff)
downloadtinygo-9e7882b1b7bb19f1a626470945d00b87851825f6.tar.gz
tinygo-9e7882b1b7bb19f1a626470945d00b87851825f6.zip
reflect: uncomment a another test the fails and doc some that don't
Diffstat (limited to 'src/reflect')
-rw-r--r--src/reflect/all_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/reflect/all_test.go b/src/reflect/all_test.go
index 1fe0b0002..4f9f223f1 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