Closed adonovan closed 10 months ago
Thanks, Jay.
Sorry for the slow review. It's been a really busy summer, and this slipped off my radar.
No worries! Between furious gopls work and now a lengthy vacation I haven't been spending much time thinking about Starlark. (Or the other matter, for that matter.)
Thanks for reviews, as always.
This change eliminates the need for client applications to set global variables to control dialect options, as globals are error-prone and concurrency hostile.
All relevant API functions Foo now have a variant FooOptions that takes an explicit FileOptions; the original function accesses the legacy options by reading the global variables.
Fixes #435