Skip to content

Commit

Permalink
Remove additional JSVal constructor initializer. apparently this was
Browse files Browse the repository at this point in the history
used for debugging only, but it causes tools to complain about
duplicate declarations.

Multi-file index.html (rts.js, out.js, lib.js, runmain.js) appears
to run fine with this removed.
  • Loading branch information
luite committed Jun 29, 2021
1 parent c023e1a commit e4cd423
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/boot/shims/src/platform.js.pp
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@

/* platform-specific setup */

// top-level debug initialization needs this. declare it in case we aren't in the same file as out.js
function h$ghcjszmprimZCGHCJSziPrimziJSVal_con_e() { return h$stack[h$sp]; };

/*
if browser mode is active (GHCJS_BROWSER is defined), all the runtime platform
detection code should be removed by the preprocessor. The h$isPlatform variables
Expand Down

0 comments on commit e4cd423

Please sign in to comment.