1 File
"asyncgen3.php", line 8, characters 8-18:
2 await can only be used inside async functions
(NastCheck
[3003])
3 File
"asyncgen3.php", line 9, characters 3-16:
4 Invalid yield
(Typing
[4110])
5 File
"asyncgen3.php", line 7, characters 15-47:
6 Expected AsyncGenerator
<int, string
, void
>
7 File
"asyncgen3.php", line 9, characters 3-16:
8 But got Generator
<int, string
, [unresolved
]> (result of function with
'yield' in the body
)