2 // Copyright 2004-present Facebook. All Rights Reserved.
5 const (int, string, vec
<string>) MY_TUPLE
= tuple(0, "foo", vec
["b", "bc"]);
7 public function return_int(): int {
8 return self
::MY_TUPLE
[0];
11 public function return_string(): string {
12 return self
::MY_TUPLE
[1];
15 public function return_wrong(): dict
<string, int> {
16 return self
::MY_TUPLE
[2];