all: add support for go 1.13

This commit is contained in:
Jaden Weiss
2019-09-22 12:31:05 -04:00
committed by Ayke van Laethem
parent 6c9e55bd06
commit 17ef7a5c32
8 changed files with 79 additions and 15 deletions
+1 -1
View File
@@ -272,7 +272,7 @@ func (c *Compiler) Compile(mainPath string) []error {
path = path[len(tinygoPath+"/src/"):]
}
switch path {
case "machine", "os", "reflect", "runtime", "runtime/volatile", "sync", "testing":
case "machine", "os", "reflect", "runtime", "runtime/volatile", "sync", "testing", "internal/reflectlite":
return path
default:
if strings.HasPrefix(path, "device/") || strings.HasPrefix(path, "examples/") {