-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Weird crash #2299
Comments
Forgot to attach the tarball. |
Here's the file in question. It's a
If I remove the first then it builds. |
I found a workaround that will most likely work: /**
* Patches the document starting at node with the provided function. This
* function may be called during an existing patch operation.
* @param {!Element|!DocumentFragment} node The Element or Document
* to patch.
* @param {!function(T)} fn A function containing elementOpen/elementClose/etc.
* calls that describe the DOM.
* @param {T=} data An argument passed to fn to represent DOM state.
* @return {!Node} The patched node.
* @template T
*/
const patchInnerDelegate = function(node, fn, data) {
return patchInner(node, fn, data);
};
exports.patch = patchInnerDelegate;
exports.patchInner = patchInner; |
This might possibly be fixed by db7a7b4 |
Looks like the exact fix. I'll close this out then and just remove the hack when the next release rolls around. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The compiler asked me to report this error. So here I am.
I'm using v20170124.
ERROR: /usr/local/REDACTED/_tmp/open_source_build_test_1/rules_closure/closure/templates/test/BUILD:162:1: Compiling 832 JavaScript files to closure/templates/test/greeter_idom_fail_bin.js failed: Worker process sent response with exit code: 1..
java.lang.RuntimeException: java.lang.RuntimeException: INTERNAL COMPILER ERROR.
Please report this problem.
Already found a mapping for inlining short name: patchInner
Node(GETPROP): bazel-out/local_linux-fastbuild/genfiles/third_party/javascript/incremental_dom/incremental-dom-closure.js:1611:0
exports.patchInner = patchInner;
Parent(ASSIGN): bazel-out/local_linux-fastbuild/genfiles/third_party/javascript/incremental_dom/incremental-dom-closure.js:1611:0
exports.patchInner = patchInner;
Caused by: java.lang.RuntimeException: INTERNAL COMPILER ERROR.
Please report this problem.
Already found a mapping for inlining short name: patchInner
Node(GETPROP): bazel-out/local_linux-fastbuild/genfiles/third_party/javascript/incremental_dom/incremental-dom-closure.js:1611:0
exports.patchInner = patchInner;
Parent(ASSIGN): bazel-out/local_linux-fastbuild/genfiles/third_party/javascript/incremental_dom/incremental-dom-closure.js:1611:0
exports.patchInner = patchInner;
Caused by: java.lang.IllegalStateException: Already found a mapping for inlining short name: patchInner
... 29 more
Here's a deterministic hermetically sealed jar that will reproduce the crash if you run
bazel test //closure/...
.I'm still investigating what this means.
The text was updated successfully, but these errors were encountered: