diff options
author | Ayke van Laethem <[email protected]> | 2018-10-23 15:39:53 +0200 |
---|---|---|
committer | Ayke van Laethem <[email protected]> | 2018-10-23 15:39:53 +0200 |
commit | 0b8beb77c11209e5a232d0521551990a252bd854 (patch) | |
tree | 00dd06ea76404cc4b7208f40027c5614b59fcf0b /src/reflect/swapper.go | |
parent | 6c6a43310abe7080f4f881fcf968d40681a814e6 (diff) | |
download | tinygo-0b8beb77c11209e5a232d0521551990a252bd854.tar.gz tinygo-0b8beb77c11209e5a232d0521551990a252bd854.zip |
reflect: add stub reflect package
This is necessary to compile fmt. However, it cannot link yet.
Diffstat (limited to 'src/reflect/swapper.go')
-rw-r--r-- | src/reflect/swapper.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/reflect/swapper.go b/src/reflect/swapper.go new file mode 100644 index 000000000..2f880167f --- /dev/null +++ b/src/reflect/swapper.go @@ -0,0 +1,5 @@ +package reflect + +func Swapper(slice interface{}) func(i, j int) { + panic("unimplemented: reflect.Swapper") +} |