Skip to content

Semantic error - function reference, not function invocation! #4

Description

@sdhunt

This is a function reference, not a function invocation! so the condition is always true.

At line 140 you set the constant ensureValues to be a function reference (a truthy value).

You need to invoke the method here, so that it gets evaluated...

    if (ensureValues()) {
       ...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions