// Copyright (c) Facebook, Inc. and its affiliates. # @nolint namespace hs Namespace typedef i64 _Type exception _Exception { 1: string reason; } const _Type a = 100; struct _Struct { 1: _Type a = a; 2: list> b; } union _Union { 1: byte x; 2: list y; 3: set z; } const _Union u = {"y": ["test"]}; service _Service { _Type getNumber(1: i32 x); void doNothing() throws (1: _Exception ex); }