Skip to content

Commit

Permalink
[fix] declaration shadowing.
Browse files Browse the repository at this point in the history
  • Loading branch information
legander committed Oct 19, 2020
1 parent bd31adf commit dd927cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/compiler/compiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func newBabel() (*babel, error) {
return
}

if _, err := vm.RunProgram(jslib.GetCoreJS()); err != nil {
if _, corejsErr := vm.RunProgram(jslib.GetCoreJS()); corejsErr != nil {
return
}

Expand Down

0 comments on commit dd927cb

Please sign in to comment.