Allow nesting of brace-like delimiters in regex
[hiphop-php.git] / hphp / hack / test / typecheck / re_prefixed_string / re_prefixed_string.php.legacy_decl.exp
blob25780dc60dc341574141aa9793843d872d2b7dc9
1 File "re_prefixed_string.php", line 18, characters 16-17:
2 Invalid argument (Typing[4110])
3 File "re_prefixed_string.php", line 21, characters 43-65:
4 Expected HH\Lib\Regex\Pattern<[unresolved]>
5 File "re_prefixed_string.php", line 15, characters 8-20:
6 But got string because this is the result of a concatenation
7 File "re_prefixed_string.php", line 21, characters 10-16:
8 Invalid return type (Typing[4110])
9 File "re_prefixed_string.php", line 21, characters 10-16:
10 Expected void because this function implicitly returns void
11 File "re_prefixed_string.php", line 21, characters 78-78:
12 But got T
13 File "re_prefixed_string.php", line 21, characters 10-16:
14 Invalid return type (Typing[4110])
15 File "re_prefixed_string.php", line 21, characters 78-78:
16 Expected T
17 File "re_prefixed_string.php", line 21, characters 10-16:
18 But got void because this function implicitly returns void
19 File "re_prefixed_string.php", line 27, characters 13-35:
20 Bad regex pattern; two named subpatterns have the same name [14]. (Typing[4275])
21 File "re_prefixed_string.php", line 28, characters 13-29:
22 Bad regex pattern; group name must start with a non-digit [5]. (Typing[4275])
23 File "re_prefixed_string.php", line 29, characters 13-18:
24 Bad regex pattern; \c at end of pattern [2]. (Typing[4275])
25 File "re_prefixed_string.php", line 36, characters 16-35:
26 Strings with embedded expressions are not allowed to be to be `re`-prefixed (Typing[4274])
27 File "re_prefixed_string.php", line 42, characters 13-19:
28 Bad regex pattern; Missing delimiter(s). (Typing[4275])
29 File "re_prefixed_string.php", line 44, characters 13-20:
30 Bad regex pattern; Missing delimiter(s). (Typing[4275])
31 File "re_prefixed_string.php", line 46, characters 13-21:
32 Bad regex pattern; Missing delimiter(s). (Typing[4275])
33 File "re_prefixed_string.php", line 47, characters 13-20:
34 Bad regex pattern; Missing delimiter(s). (Typing[4275])
35 File "re_prefixed_string.php", line 50, characters 13-21:
36 Bad regex pattern; Missing delimiter(s). (Typing[4275])
37 File "re_prefixed_string.php", line 52, characters 14-24:
38 Bad regex pattern; Missing delimiter(s). (Typing[4275])
39 File "re_prefixed_string.php", line 53, characters 14-21:
40 Bad regex pattern; Missing delimiter(s). (Typing[4275])
41 File "re_prefixed_string.php", line 63, characters 13-23:
42 Bad regex pattern; Invalid global option(s). (Typing[4275])
43 File "re_prefixed_string.php", line 72, characters 13-68:
44 Bad regex pattern; Missing delimiter(s). (Typing[4275])
45 File "re_prefixed_string.php", line 76, characters 14-15:
46 Bad regex pattern; This pattern is empty. (Typing[4275])