aboutsummaryrefslogtreecommitdiff
blob: adc2585560bad3c304097925609742453b195eb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/torch/csrc/jit/frontend/ir_emitter.cpp	2021-10-15 05:35:23.000000000 +0400
+++ b/torch/csrc/jit/frontend/ir_emitter.cpp	2021-10-15 05:35:23.000000000 +0400
@@ -1678,7 +1678,7 @@
               << "Union type annotation `" << type_hint->repr_str()
               << "` can hold " << vector_repr.str() << ", but none of "
               << "those list types can hold the types of the given dict"
-              << " elements, which were unified to " << candidate->repr_str();
+              << " elements, which were unified";
         } else {
           refined_type_hint = candidate;
         }