From 921235ab22e1aa521104473fccd024ee10b78b82 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Mon, 17 Jul 2023 16:35:32 +0200 Subject: [PATCH] DGen - If `typeTransform(Type)` is called on an unknown type then print out the type in the error message asx well --- source/tlang/compiler/codegen/emit/dgen.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tlang/compiler/codegen/emit/dgen.d b/source/tlang/compiler/codegen/emit/dgen.d index 4017951..4a9a719 100644 --- a/source/tlang/compiler/codegen/emit/dgen.d +++ b/source/tlang/compiler/codegen/emit/dgen.d @@ -104,7 +104,7 @@ public final class DCodeEmitter : CodeEmitter // return "KAK TODO"; } - gprintln("Type transform unimplemented", DebugType.ERROR); + gprintln("Type transform unimplemented for type '"~to!(string)(typeIn)~"'", DebugType.ERROR); assert(false); // return stringRepr; }