myitcv / gopherjs

A compiler from Go to JavaScript for running Go code in a browser
BSD 2-Clause "Simplified" License
21 stars 0 forks source link

compiler: fix Make(Full)Wrapper where this is no return value #10

Closed myitcv closed 6 years ago

myitcv commented 6 years ago

Fixes #9

myitcv commented 6 years ago

@antong - I've raised the issue you kindly found as #9; this is a proposed fix (with test case that minimally reproduces what you saw).

Perhaps you could give it a try?

git fetch https://github.com/myitcv/gopherjs pull/10/head && git checkout FETCH_HEAD
antong commented 6 years ago

I can confirm that this fixes my minimal example, and also my original use. Thanks!