Keyword arguments can be required (forced) #567

headius opened this Issue Mar 9, 2013 · 3 comments


None yet

3 participants

headius commented Mar 9, 2013

In 2.0, the following doesn't really parse. In 2.1, it will be a required "a" keyword argument:

def foo(first, second, a:)

We will likely have parser and interpreter/compiler changes to go with this.

plukevdh commented Feb 7, 2014


@enebo enebo added this to the JRuby 9000 milestone Feb 7, 2014
enebo commented Feb 7, 2014

Corrected parser and this signature works in current runtime on master.

@enebo enebo closed this Feb 7, 2014
plukevdh commented Feb 9, 2014


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment