Skip to content
New issue

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

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

Already on GitHub? # to your account

errors #8

Open
ghost opened this issue Jan 10, 2022 · 0 comments
Open

errors #8

ghost opened this issue Jan 10, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 10, 2022

Can't cache if some arguments don't have type hints:

@cacheable Minute(1) function fn(one, two::Int)::Nothing end
ERROR: LoadError: type Symbol has no field args

Arguments with type hints and default values also fail

@cacheable Minute(1) function fn(one::Int, two::Int = 2)::Nothing end
ERROR: syntax: invalid keyword argument name "two::Int"
@ghost ghost changed the title function definition failures errors Jan 10, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants