vyper --version): v0.1.0-beta.9python --version): Python 3.6.7pip freeze): pycryptodome==3.7.3Is this a bug?
I can compile contract with *args and kwargs:
@public
def test1(a:uint256, *args,kwargs) ->bool:
return True
And if i try to get args, for example, i''ll get following error "Undeclared variable: args"
Check for * and ** in fun declaration
@jacqueswww Maybe this highlights the case for a custom grammar. That kind of thing really should be a syntax error.
@davesque yup.
Most helpful comment
@jacqueswww Maybe this highlights the case for a custom grammar. That kind of thing really should be a syntax error.