From b1847fcd0faf8860001e392861b64306c38ce279 Mon Sep 17 00:00:00 2001 From: Haichen Shen Date: Thu, 6 May 2021 22:41:15 +0000 Subject: [PATCH] allow annotation info for relay var --- src/printer/relay_text_printer.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/printer/relay_text_printer.cc b/src/printer/relay_text_printer.cc index 4fc03039466c..2de331be9581 100644 --- a/src/printer/relay_text_printer.cc +++ b/src/printer/relay_text_printer.cc @@ -219,6 +219,7 @@ Doc RelayTextPrinter::AllocVar(const Var& var) { if (var->type_annotation.defined()) { val << ": " << Print(var->type_annotation); } + val << PrintOptionalInfo(var); return val; }