From 635dea3e5f5f485ebb297857648ae75dfd17dfa2 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 18 Oct 2023 13:49:41 -0700 Subject: [PATCH] Fix a broken Thrift test Summary: `common/hs/thrift/tests/if/scoped_enums.thrift` contains invalid Thrift: a constant initialized with an enum type reference. This happened to compile before because of a bug in name resolution but no longer compiles. Remove the broken code. Reviewed By: thedavekwon Differential Revision: D50423730 fbshipit-source-id: f20bae644911e45d3e36d3fe238644f91b21cbcd --- tests/if/scoped_enums.thrift | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/if/scoped_enums.thrift b/tests/if/scoped_enums.thrift index cddf5576..a0ae2080 100644 --- a/tests/if/scoped_enums.thrift +++ b/tests/if/scoped_enums.thrift @@ -36,4 +36,3 @@ enum B { } (hs.pseudoenum, hs.prefix = 'enum_') const B prefix = B.B; -const B prx2 = B;