Code to reproduce the issue:
console.log(bootstrap())
function bootstrap(): Writer<{}> {
const result = run<Sources, Sinks>(Main, IO)
return [result, 'bootstrap']
}
Expected behavior:
run is compiled correctly.
Actual behavior:
Uncaught ReferenceError: run is not defined
at bootstrap (bundle.js:15530)
at Object.defineProperty.value (bundle.js:15528)
at __webpack_require__ (bundle.js:20)
at Object.<anonymous> (bundle.js:9609)
at __webpack_require__ (bundle.js:20)
at bundle.js:63
at bundle.js:66
Versions of packages used:
@motorcycle/compiler@3.0.0
Code to reproduce the issue:
Expected behavior:
runis compiled correctly.Actual behavior:
Versions of packages used:
@motorcycle/compiler@3.0.0