Skip to content

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

@sdhunt

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()) {
       ...

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