From 37eef0e976135d410ee1689f3b93714154b720b8 Mon Sep 17 00:00:00 2001 From: boyned//Kampfkarren <3190756+Kampfkarren@users.noreply.github.com> Date: Fri, 26 Jul 2024 19:54:32 -0700 Subject: [PATCH] ty -> type_info --- full-moon/src/ast/parsers.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/full-moon/src/ast/parsers.rs b/full-moon/src/ast/parsers.rs index d5de6343..d9862d1a 100644 --- a/full-moon/src/ast/parsers.rs +++ b/full-moon/src/ast/parsers.rs @@ -2483,11 +2483,11 @@ fn parse_type_suffix( let type_info = if current_type.is_some() { current_type.take().unwrap() } else { - let ParserResult::Value(ty) = parse_simple_type(state, SimpleTypeStyle::Default) else { + let ParserResult::Value(type_info) = parse_simple_type(state, SimpleTypeStyle::Default) else { return ParserResult::LexerMoved; }; - ty + type_info }; let Ok(current_token) = state.current() else {