facebook / starlark-rust

A Rust implementation of the Starlark language
Apache License 2.0
699 stars 57 forks source link

Add support for dict union #75

Closed dreiss closed 1 year ago

dreiss commented 1 year ago

Added to upstream at https://github.com/bazelbuild/starlark/pull/215

dtolnay commented 1 year ago

I believe this is already implemented. https://github.com/facebookexperimental/starlark-rust/commit/37f87baa54d15f137ed7ea5c1d9796354aeae391

https://github.com/facebookexperimental/starlark-rust/blob/5e767e2a170b23b780a2c74ef7971e4357464425/starlark/src/values/types/dict/value.rs#L461

dreiss commented 1 year ago

Ah, yes. I was confused by another tool that was processing my Starlark file and failing on this. Thanks!