Skip to content

Commit

Permalink
Fix a broken Thrift test
Browse files Browse the repository at this point in the history
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
  • Loading branch information
vitaut authored and facebook-github-bot committed Oct 18, 2023
1 parent ec1e5b6 commit 635dea3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/if/scoped_enums.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ enum B {
} (hs.pseudoenum, hs.prefix = 'enum_')

const B prefix = B.B;
const B prx2 = B;

0 comments on commit 635dea3

Please sign in to comment.