From 978c7a1bfa1837d777d3e9e393bb812ecebe2186 Mon Sep 17 00:00:00 2001 From: ryuukk Date: Thu, 5 Oct 2023 05:44:02 +0200 Subject: [PATCH] Remove debugging left over --- dsymbol/src/dsymbol/conversion/second.d | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/dsymbol/src/dsymbol/conversion/second.d b/dsymbol/src/dsymbol/conversion/second.d index 93d3bf7..497ee5c 100644 --- a/dsymbol/src/dsymbol/conversion/second.d +++ b/dsymbol/src/dsymbol/conversion/second.d @@ -331,15 +331,8 @@ void resolveTemplate(DSymbol* variableSym, DSymbol* type, TypeLookup* lookup, Va { depth += 1; - if (variableSym is null || type is null){ - writeln("fuck here"); - return; - } - - if (current.chain.length == 0){ - writeln("why empty ", variableSym.name, " ", current.calltip); - return; // TODO: should not be empty, happens for simple stuff Inner inner; - } + if (variableSym is null || type is null) return; + if (current.chain.length == 0) return; // TODO: should not be empty, happens for simple stuff Inner inner; TODO: i forgot why, add a test DSymbol* newType = createTypeWithTemplateArgs(type, lookup, current, cache, moduleScope, depth, mapping); writeln(">>", variableSym.name, " > ", newType.name);