slackhq / tree-sitter-hack

Hack grammar for tree-sitter
MIT License
33 stars 15 forks source link

Add support for function references (aka function pointer expressions) #35

Closed frankeld closed 2 years ago

frankeld commented 3 years ago

Since HHVM 4.79, Hack has supported a function reference syntax. See https://docs.hhvm.com/hack/functions/function-references. Currently, this causes an error.