Skip to content

llvm: Bad error message on define instead of defun #524

@langston-barrett

Description

@langston-barrett

I accidentially wrote define instead of defun and got this weird error message:

(define @f () Unit
  (return ()))
cabal run exe:grease -- test.llvm.cbl

User error: TrivialErr test.llvm.cbl:1:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/lang/sexpRelating to the S-expression languagestatus/has mcveStatus: Has a Minimal Complete and Verifiable Examplestatus/needs testStatus: Has a MCVE, but needs it to be checked into the repo as a testtopic/uxtype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions