Rishipal Singh Bhatia
Rishipal Singh Bhatia
This might be requesting a new feature. I was able to use `Private` as a type inside test.js only if it's exported directly (like Public), but not when it's exported...
https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString The `parseFromString` can return either `HTMLDocument` or `XMLDocument` depending on the `mimeType` parameter value. This means that the `documentElement` property can be either `HTMLHtmlElement` or `SVGSVGElement`. So is the...
For your second question, I believe there was a @noinline annotation introduced for preventing inlining. In your specific example, perhaps it can be used as an annotation with function raf(f)....
I can repro this with v20210601. @ChadKillingsworth , looks like `import.meta` is not supported in code here - https://github.com/google/closure-compiler/blob/bba5661a295b607d0f935cb06a00f2ea6eb3824a/src/com/google/javascript/jscomp/Es6RewriteModules.java#L401 ?
Hi, did the server not emit an error when it failed to process your request with that parameter? As per https://developers.google.com/closure/compiler/docs/api-ref#params, we currently support a limited set of parameters in...
AFAICT, changing the way modules load would require some pretty invasive changes to our broader internal JS stack, and not just the Closure compiler.
Fixed with. d228c12c1b10833634654e19d091cd726ab0c713
I recall this was discussed inconclusively in the past due to type precedence not being established. An example from a previous discussion: A function return type like `(number | string)`...
How have you configured the compiler to run and how are you invoking it? In my IntegrationTest the polyfills are only getting injected if I set the language_out to ES3.
Note: This only happens for empty functions since their return type is looser. This should report as expected for non-empty functions even with no return.