Skip to content

refactor main function/unit test compilation and evaluation #75

@sfultong

Description

@sfultong

In Spec.hs, there are unit tests like unitTest2 "main = 0" "0" This was a convenient way to test expressions, but main should be reserved for functions that belong in an input/output loop.

We should change all the unit tests, and we need to handle runStaticChecks differently for main vs inside unit tests.

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