From 80ea0d650e3d8f56e43df21f1293b4ddccb89203 Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Wed, 26 Nov 2025 19:13:45 +1300 Subject: Remove semantic::ListLiteral::Invocation This variant was never needed or constructed, I would have added it to match the invocation variants of the block and integer tokens (which do have a use). --- src/stages/compiler.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/stages/compiler.rs') diff --git a/src/stages/compiler.rs b/src/stages/compiler.rs index b4680c2..bc86589 100644 --- a/src/stages/compiler.rs +++ b/src/stages/compiler.rs @@ -252,9 +252,6 @@ impl SymbolParser { fn parse_list_token(&mut self, token: &ListToken, source: &SourceSpan) { match &token { - ListToken::Invocation(invocation) => { - self.parse_invocation(&invocation, source) - } ListToken::ListLiteral(integers) => { for integer in integers { self.parse_integer_token(&integer, source) -- cgit v1.2.3-70-g09d2