From 31753f581f60ed0f2046c52c6c88526c5a3dd8e3 Mon Sep 17 00:00:00 2001 From: Lukas Neubert Date: Sun, 10 Jan 2021 11:19:14 +0100 Subject: [PATCH] ast: remove redundant InfixExpr.str() (#7993) --- vlib/v/ast/str.v | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vlib/v/ast/str.v b/vlib/v/ast/str.v index c10aa90a05..c596c6934f 100644 --- a/vlib/v/ast/str.v +++ b/vlib/v/ast/str.v @@ -111,10 +111,6 @@ pub fn (node &FnDecl) stringify(t &table.Table, cur_mod string, m2a map[string]s return f.str() } -pub fn (x &InfixExpr) str() string { - return '$x.left.str() $x.op.str() $x.right.str()' -} - // Expressions in string interpolations may have to be put in braces if they // are non-trivial, if they would interfere with the next character or if a // format specification is given. In the latter case