diff --git a/CHANGELOG.md b/CHANGELOG.md index e6ab4d4c68fb..14aa484dba2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,11 @@ previously discarded a sibling `b.prql`. This is a small breaking change — programs that relied on the last declaration winning now fail to compile. (@prql-bot, #6150) +- Report duplicate declarations coming from an `enum` definition rather than + silently keeping the last one. An `enum` whose name is already taken now + reports `duplicate declarations of `, a repeated member reports + `duplicate declarations of .`, and `_self` is rejected as a + member name since it is the entry holding the type itself. (@prql-bot, #6164) - Move all standard types into a dedicated `std.types` submodule in order to disambiguate between `type text` - `module text` and `type date` - `module date`. (@kgutwin, #6155)