Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go 1.11 support. #853

Merged
merged 23 commits into from Aug 25, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
061c27b
Target Go 1.11 Beta 1, update version to GopherJS 1.11-wip.
dmitshur Jun 26, 2018
7c756a8
natives/internal/cpu: Define CacheLineSize constant for GOARCH=js.
dmitshur Jun 27, 2018
6bf01c0
natives/internal/syscall/unix: Define randomTrap; override IsNonblock.
dmitshur Jun 27, 2018
97c17c2
natives/syscall: Implement rawSyscallNoError, unsetenv_c.
dmitshur Jun 29, 2018
a8a9c4e
natives/sync: Update sync.WaitGroup fields.
dmitshur Jun 27, 2018
f2b3fe5
natives/unicode: Update signature of to.
dmitshur Jun 27, 2018
9f7f458
natives/testing: Update frameSkip signature and implementation.
dmitshur Jun 27, 2018
3c29284
natives/reflect: Use 'embedded' rather than 'anonymous'.
dmitshur Jun 27, 2018
884657e
natives/reflect: Sort exported methods first; add xcount to uncommonT…
dmitshur Jun 27, 2018
e29d711
natives/strings: Skip TestBuilderGrow.
dmitshur Jun 28, 2018
f6627b0
natives/math: Use Go implementation for extreme Ldexp inputs.
dmitshur Jun 28, 2018
8e3982a
Target Go 1.11 Beta 2.
dvic Jul 21, 2018
ec05aba
natives/runtime: Add pkgpath method for _type. (#846)
egonelbre Aug 12, 2018
1205be0
Target Go 1.11 Beta 3.
dmitshur Aug 12, 2018
a23c7c0
Target Go 1.11 RC 1.
dmitshur Aug 18, 2018
64ad028
natives/crypto/internal/subtle: Implement for GopherJS.
dmitshur Aug 18, 2018
e0db4d4
tests: Triage test failures new to Go 1.11.
dmitshur Aug 20, 2018
f2f28a8
Target Go 1.11 RC 2.
dmitshur Aug 23, 2018
1f566be
natives/runtime: Update TypeAssertionError instantiation.
dmitshur Aug 23, 2018
da29940
natives/reflect: Skip new failing test.
dmitshur Aug 23, 2018
bf5bd66
Regenerate.
dmitshur Jun 29, 2018
e3b6673
Target Go 1.11 final.
dmitshur Aug 25, 2018
8b6e878
compiler: Bump version to GopherJS 1.11-1.
dmitshur Aug 25, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion circle.yml
Expand Up @@ -6,7 +6,7 @@ machine:

dependencies:
pre:
- cd /usr/local && sudo rm -rf go && curl https://storage.googleapis.com/golang/go1.10.1.linux-amd64.tar.gz | sudo tar -xz && sudo chmod a+w go/src/path/filepath
- cd /usr/local && sudo rm -rf go && curl https://storage.googleapis.com/golang/go1.11.linux-amd64.tar.gz | sudo tar -xz && sudo chmod a+w go/src/path/filepath
post:
- mv ./gopherjs $HOME/bin
- npm install --global node-gyp
Expand Down
2 changes: 1 addition & 1 deletion compiler/compiler.go
Expand Up @@ -17,7 +17,7 @@ import (

var sizes32 = &types.StdSizes{WordSize: 4, MaxAlign: 8}
var reservedKeywords = make(map[string]bool)
var _ = ___GOPHERJS_REQUIRES_GO_VERSION_1_10___ // Compile error on other Go versions, because they're not supported.
var _ = ___GOPHERJS_REQUIRES_GO_VERSION_1_11___ // Compile error on other Go versions, because they're not supported.

func init() {
for _, keyword := range []string{"abstract", "arguments", "boolean", "break", "byte", "case", "catch", "char", "class", "const", "continue", "debugger", "default", "delete", "do", "double", "else", "enum", "eval", "export", "extends", "false", "final", "finally", "float", "for", "function", "goto", "if", "implements", "import", "in", "instanceof", "int", "interface", "let", "long", "native", "new", "null", "package", "private", "protected", "public", "return", "short", "static", "super", "switch", "synchronized", "this", "throw", "throws", "transient", "true", "try", "typeof", "undefined", "var", "void", "volatile", "while", "with", "yield"} {
Expand Down
12 changes: 6 additions & 6 deletions compiler/gopherjspkg/fs_vfsdata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.