Skip to content

A funcRef can be a default value for a function parameter #192

@Withered-Flower-0422

Description

@Withered-Flower-0422
> f = function
>>> print "f"
>>> end function
> a = function(x=@f) // This should throw a Compiler Error: parameter default value must be a literal value
>>> print x
>>> end function
> a
@f 
> 

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