Remove obsolete comments

This commit is contained in:
Greg Shuflin 2021-11-21 12:25:13 -08:00
parent 032fe5fed9
commit 7221d2cb11
2 changed files with 0 additions and 4 deletions

View File

@ -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",

View File

@ -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 {