lune-org/lune

Generated Selene types for task library are incorrect

Closed this issue · 1 comments

When using --generate-selene-types, the resulting lune.yml file has a couple of issues.

  • task.spawn, task.defer, and task.delay all require the vararg to be used when it should be optional.
  • task.cancel takes an argument of type thread which isn't actually defined anywhere. This actually causes an error within Selene that gives us a confusing error message and prevents it from running. (see below)

image

Fixed for the next release in ed07409 , thanks for reporting this 👍