Skip to content

Function Parameters not supported #19

@TheSignPainter98

Description

@TheSignPainter98

Describe the bug

Arguments with a function-type are not supported.

To Reproduce

Steps to reproduce the behaviour:

Attempt to compile the following program.

module asdf

ff :: (int -> int) -> int
ff f:
    return f(0)
#

Expected behaviour

This should compile and f should be applied as expected.

Screenshots

N/A

Environment (please complete the following information):

  • OS: Ubuntu
  • Emperor version: unreleased

Additional context

N/A

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