Skip to content

Commit

Permalink
misc(parser): dont panic on non-implemented method calls
Browse files Browse the repository at this point in the history
  • Loading branch information
baszalmstra committed Feb 28, 2021
1 parent 1a1a3f5 commit 90f1a79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/mun_syntax/src/parsing/grammar/expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ fn postfix_dot_expr(
) -> Result<CompletedMarker, CompletedMarker> {
assert!(p.at(T![.]));
if p.nth(1) == IDENT && p.nth(2) == T!['('] {
unimplemented!("Method calls are not supported yet.");
// TODO: Implement method calls here
//unimplemented!("Method calls are not supported yet.");
}

Ok(field_expr(p, lhs))
Expand Down

0 comments on commit 90f1a79

Please sign in to comment.