Skip to content

NULL cannot be used #185

@flownt

Description

@flownt

The litteral NULL cannot be used in a rule. In some cases it is useful to pass NULL explicitly to document default behaviour is desired.

e. g. :

validator( f( x=NULL ) == TRUE )

fails with:
'Error in if (length(x) == 1 || x[[1]] == "function") return x'

error happens as length(NULL) == 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions