Skip to content

Commit 5368361

Browse files
aristidispmeta-codesync[bot]
authored andcommitted
fbcode/common/
Reviewed By: iahs Differential Revision: D94436832 fbshipit-source-id: 18a26681e84b211d2cad83895af569842f181aef
1 parent 09125e8 commit 5368361

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/if/map.thrift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
include "thrift/annotation/thrift.thrift"
10+
911
typedef map<byte, string> Map
1012

1113
typedef string KeyType (hs.newtype)
@@ -25,4 +27,5 @@ struct Y {
2527
}
2628

2729
// The following were automatically generated and may benefit from renaming.
30+
@thrift.AllowUnsafeNonSealedKeyType
2831
typedef map<Y, string> (hs.type = "HashMap") map_Y_string_2031

0 commit comments

Comments
 (0)