aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights/hack/async-functions.hack
blob: 4488c992dcab348d0f43842275694e8c07063b9a (plain) (blame)
1
2
3
4
5
6
7
8
async function func0(): void {}
//                        ^ type.builtin
async function func1<T1 as int>() {}
//                         ^ type.builtin
//                      ^ keyword.operator
						

async ($x) ==> $x + 1;