mosquito-cr / mosquito

A background task runner for crystal applications supporting periodic (CRON) and manually queued jobs
MIT License
227 stars 24 forks source link

adds a better error message when a parameter type isn't supported #111

Closed robacarp closed 1 year ago

robacarp commented 1 year ago

fixes #109

Assuming a param declaration like this: param counts : Array(Int32), the compile time error message produced will look like this:

image

I don't think it's possible to write a test for something like this without scaffolding out a way to generate a new mosquito project and compile it.