Commits on Mar 9, 2019
…902) Using a black list is a more effective mechanism for expressing those standard library packages we don't want to test because it means we don't need to manually check whether new standard library packages have been added that would otherwise need to be added to the white list. See the discussion in #900 for more context.
Commits on Jun 28, 2018
Commits on Apr 24, 2018
This change updates compiler to use new package gcexportdata instead of the deprecated and removed package gcimporter15 for reading and writing export data files containing type information. See its deprecation note here: https://github.com/golang/tools/blob/14d5b80f954f510ba9bcd241821b6f4828498e1a/go/gcimporter15/gcimporter.go#L13-L14 Remove vendored copy of gcimporter15, since it's no longer used. Updates #789.
Commits on Apr 20, 2018
This is a rebase of #765. Whilst rebasing #669 I fell into a similar trap to #775 (#775 (comment)), by forgetting to commit the manually minified prelude. Then going through the manual process of manually minifying the prelude I wasted a whole load of time installing goexec, missing something the first time etc, issues that this PR addresses by automating the process, as previously discussed (#765 (comment)).
Commits on Apr 19, 2018
Commits on Apr 16, 2018
Commits on Apr 10, 2018
The golang.org/x/tools/go/gcimporter15 package has been removed (as promised) in golang/tools@5dfd893. This change vendors a copy of that package at golang/tools@14d5b80 without *_test.go and testdata (which contained binary files). The deprecation notice suggests that new code should use golang.org/x/tools/go/gcexportdata package, which we can consider in the future. Fixes #788. GitHub-Pull-Request: #789.
Commits on Sep 6, 2017
) This brings generated JS code for a type switch with a *js.Object case in line with the runtime $assertType function. For *js.Object type, we have to dereference via .$val.object. See https://github.com/gopherjs/gopherjs/blob/4b94c02883c52ae7f268e602db1dacf7bd0fbd78/compiler/prelude/types.go#L735-L740. Fixes #682.
The goal of this change is to fix intermittent test failures we've started seeing recently: === RUN TestMaxExecDepth FAIL text/template 2.272s In 1f89545, the --stack_size flag was passed to Node.js. In nodejs/node#14567, it was pointed out that the value of ulimit -s must be >= the value of --stack_size. This change makes that so by setting --stack_size based on the current value of ulimit, and sets ulimit to 10000 in CI.