Skip to content

Allow for "Unit" parameters in scripts #56

@AndreVanDelft

Description

@AndreVanDelft

The following is accepted:
do1WithMessage(s: Script[Any], msg: String) = @gui: let status() = s"$msg..."; s
whereas this is not:
do1WithMessage(u: => Unit , msg: String) = @gui: let status() = s"$msg..."; u

Something like the second form should also be accepted.

Metadata

Metadata

Assignees

No one assigned

    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