FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Improved error message when using promise keyword inapropriately · Issue #57 · featurist/pogoscript · GitHub

Improved error message when using promise keyword inapropriately #57

Description

Sometimes I've used the name promise for a variable forgetting it's a keyword, e.g:

promise = getStuffAsync(...)

//later
promise!

The pogo compiler says "TypeError: Cannot read property '0' of undefined" with no trace of where the problem is. Takes me a while to remember what this means.

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


    Back | FazBrowse Home | New Git URL