Closed dsheets closed 5 months ago
@ndmitchell has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
Thanks for the PR - this looks reasonable to me!
@ndmitchell merged this pull request in facebookexperimental/starlark-rust@c3033f35204f3271c4692293a526379e22f677e1.
I wanted to play with the variations between dialects you support and could not easily. This patch just creates a dialect option and enum and plumbs it through all the use sites in the executable.
At some future time, you or other project members may want finer grained control over the language extensions (or restrictions). I don't believe this change hinders that future effort therefore it seems to be low risk architecturally.
Thanks!