aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDamian Gryski <[email protected]>2023-03-17 09:31:45 -0700
committerRon Evans <[email protected]>2023-03-19 19:12:34 +0100
commit24b4dc31a4c18f9edb584b459de03dd05d3ffcb3 (patch)
tree7dd855b6633d7c135da03cd3d68ce15ea220cfd3
parent4f8127d0bf0adeeb0ab699f0551af8d7230ed239 (diff)
downloadtinygo-24b4dc31a4c18f9edb584b459de03dd05d3ffcb3.tar.gz
tinygo-24b4dc31a4c18f9edb584b459de03dd05d3ffcb3.zip
reflect: stub MapOf()
-rw-r--r--src/reflect/type.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/reflect/type.go b/src/reflect/type.go
index 4999afddd..01838a9a7 100644
--- a/src/reflect/type.go
+++ b/src/reflect/type.go
@@ -1263,3 +1263,7 @@ func ArrayOf(n int, t Type) Type {
func StructOf([]StructField) Type {
panic("unimplemented: reflect.StructOf()")
}
+
+func MapOf(key, value Type) Type {
+ panic("unimplemented: reflect.MapOf()")
+}