From 1b053ec00fdf2f9d74a3757839de41b358517287 Mon Sep 17 00:00:00 2001 From: XFPlus Date: Tue, 5 Nov 2019 00:03:42 +0800 Subject: [PATCH] Fix typo in err msg (#4251) --- src/relay/pass/type_infer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/relay/pass/type_infer.cc b/src/relay/pass/type_infer.cc index c1d1a66..bc84bdd 100644 --- a/src/relay/pass/type_infer.cc +++ b/src/relay/pass/type_infer.cc @@ -315,7 +315,7 @@ class TypeInferencer : private ExprFunctor, ss << "match expression does not handle the following cases: "; int i = 0; for (auto cs : unmatched_cases) { - ss << "case " << i << ": \n" << PrettyPrint(cs); + ss << "case " << i++ << ": \n" << PrettyPrint(cs); } this->ReportFatalError( match, -- 2.7.4