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

expire_func lacks type-checking #460

Open
vpax opened this issue Jul 10, 2019 · 1 comment

Comments

Projects
None yet
3 participants
@vpax
Copy link
Contributor

commented Jul 10, 2019

The following script type-checks when it shouldn't:

global b: function(s1: string, s2: string): interval;
global a: table[addr] of count &create_expire=1sec &expire_func=b;

@ZekeMedley

This comment has been minimized.

Copy link
Member

commented Jul 16, 2019

This should probably happen here :) there is a nice example for &default above.

// ### Should type-check arguments to make sure first is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.