hhvm / hack-codegen

Library to programatically generate Hack code and write it to signed files
https://hhvm.github.io/hack-codegen/
MIT License
341 stars 93 forks source link

Optimize CodegenFunctionish::addContexts() and make the intent clearer #158

Closed fredemmott closed 1 year ago

fredemmott commented 1 year ago

Drive-by cleanup while adding setContexts() (#157)

I've not added tests as there does not appear to be any environment where they're runnable.