Remove this TODO; default args are parsed
This commit is contained in:
parent
2f467702e3
commit
bb87a87848
@ -482,7 +482,6 @@ impl Parser {
|
|||||||
Ok(delimited!(self, LParen, formal_param, Comma, RParen))
|
Ok(delimited!(self, LParen, formal_param, Comma, RParen))
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO needs to support default values
|
|
||||||
#[recursive_descent_method]
|
#[recursive_descent_method]
|
||||||
fn formal_param(&mut self) -> ParseResult<FormalParam> {
|
fn formal_param(&mut self) -> ParseResult<FormalParam> {
|
||||||
let name = self.identifier()?;
|
let name = self.identifier()?;
|
||||||
|
Loading…
Reference in New Issue
Block a user