Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow compilation of empty contract #731

Closed
shmish111 opened this issue Mar 20, 2019 · 1 comment
Closed

Allow compilation of empty contract #731

shmish111 opened this issue Mar 20, 2019 · 1 comment
Assignees

Comments

@shmish111
Copy link
Contributor

Currently if you hit compile with an empty editor you get

Line 2, Column 3:
 error:
    Variable not in scope:
      mkFunctions :: [a0] -> Language.Haskell.TH.Lib.Internal.DecsQ
  |
2 | $(mkFunctions [])
  |   ^^^^^^^^^^^

whereas you should get

It looks like you have not made any functions available, use `$(mkFunctions ['functionA, 'functionB])` to be able to use `functionA` and `functionB`
@shmish111 shmish111 self-assigned this Mar 20, 2019
@shmish111
Copy link
Contributor Author

#732

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant