You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix auto-generated externs conflicting with closure externs
For every `@JS.Import`, Web Image generates an externs definition for
that type. If it is a JS built-in type like `Map`, the closure compiler
will also have an externs definition for it, which results in a multiple
declarations error.
We suppress those warnings in our generated externs and put the closure
externs first so that the generated ones comes after and the suppression
actually works
Copy file name to clipboardExpand all lines: web-image/src/com.oracle.svm.hosted.webimage.closurecompiler/src/com/oracle/svm/hosted/webimage/closurecompiler/ClosureCompilerSupportImpl.java
+22-8Lines changed: 22 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -109,32 +109,44 @@ public String applyClosureCompiler(String inputSourceCode) {
0 commit comments