From 6ff6774d862b10e2b00a8ef938d7e5231ab3e003 Mon Sep 17 00:00:00 2001 From: Emily Herbert <17410721+emilyaherbert@users.noreply.github.com> Date: Mon, 6 Jun 2022 19:39:57 -0500 Subject: [PATCH] Remove dead code. (#1882) --- sway-core/src/parse_tree/expression/mod.rs | 31 ---------------------- 1 file changed, 31 deletions(-) diff --git a/sway-core/src/parse_tree/expression/mod.rs b/sway-core/src/parse_tree/expression/mod.rs index c2fda31d9d0..16f14840d4e 100644 --- a/sway-core/src/parse_tree/expression/mod.rs +++ b/sway-core/src/parse_tree/expression/mod.rs @@ -157,37 +157,6 @@ pub enum BuiltinProperty { IsRefType, } -#[derive(Debug, Clone)] -pub enum DelayedResolutionVariant { - StructField(DelayedStructFieldResolution), - EnumVariant(DelayedEnumVariantResolution), - TupleVariant(DelayedTupleVariantResolution), -} - -/// During type checking, this gets replaced with struct field access. -#[derive(Debug, Clone)] -pub struct DelayedStructFieldResolution { - pub exp: Box, - pub struct_name: Ident, - pub field: Ident, -} - -/// During type checking, this gets replaced with an if let, maybe, although that's not yet been -/// implemented. -#[derive(Debug, Clone)] -pub struct DelayedEnumVariantResolution { - pub exp: Box, - pub call_path: CallPath, - pub arg_num: usize, -} - -/// During type checking, this gets replaced with tuple arg access. -#[derive(Debug, Clone)] -pub struct DelayedTupleVariantResolution { - pub exp: Box, - pub elem_num: usize, -} - #[derive(Clone, Debug, PartialEq, Hash)] pub enum LazyOp { And,