Skip to content

unknown issue related to javascript 'undefined' values #444

Closed
@brett19

Description

@brett19

When doing a type conversion from bool to interface{} as part of a return statement, the code does not behave as expected.

See: http://www.gopherjs.org/playground/#/GM1vWfnqn_

Note that if you change the runPredicate to store the values in an intermediate before passing it on, it behaves as expected. Also note that if the predicate test method is single-value rather than multi-value, it works as well.

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