Skip to content

Uncaught ReferenceError: run is not defined #59

@Frikki

Description

@Frikki

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions