aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights/hack/async-functions.hack
blob: 41779d76d2b8deaaa1f8c48c0d02df9d954d93e9 (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;