Remove obsolete comments
This commit is contained in:
parent
032fe5fed9
commit
7221d2cb11
@ -578,7 +578,6 @@ fn extended_expr_part(input: Span) -> ParseResult<ExtendedPart> {
|
||||
))(input)
|
||||
}
|
||||
|
||||
//TODO this shouldn't be an expression b/c type annotations disallowed here
|
||||
fn invocation_argument(input: Span) -> ParseResult<InvocationArgument> {
|
||||
context(
|
||||
"invocation-argument",
|
||||
|
@ -1,8 +1,6 @@
|
||||
use std::rc::Rc;
|
||||
|
||||
use super::Parser;
|
||||
//TODO make use of the format_parse_error function
|
||||
//use crate::error::{SchalaError, format_parse_error};
|
||||
use crate::ast::*;
|
||||
|
||||
fn rc_string(s: &str) -> Rc<String> {
|
||||
@ -264,7 +262,6 @@ peg::parser! {
|
||||
rule call_part(parser: &mut Parser) -> Vec<InvocationArgument> =
|
||||
"(" arguments:(invocation_argument(parser) ** ",") ")" { arguments }
|
||||
|
||||
//TODO this shouldn't be an expression b/c type annotations disallowed here
|
||||
rule invocation_argument(parser: &mut Parser) -> InvocationArgument =
|
||||
_ "_" _ { InvocationArgument::Ignored } /
|
||||
_ ident:identifier() _ "=" _ expr:expression(parser) { InvocationArgument::Keyword {
|
||||
|
Loading…
Reference in New Issue
Block a user