From 6d799f0aed18be25a5c908499b6411ab6d06b78c Mon Sep 17 00:00:00 2001 From: Iain Buclaw Date: Fri, 9 Dec 2022 18:59:38 +0100 Subject: d: Merge upstream dmd, druntime c8ae4adb2e, phobos 792c8b7c1. D front-end changes: - Import dmd v2.101.0. - Deprecate the ability to call `__traits(getAttributes)' on overload sets. - Deprecate non-empty `for' statement increment clause with no effect. - Array literals assigned to `scope' array variables can now be allocated on the stack. D runtime changes: - Import druntime v2.101.0. Phobos changes: - Import phobos v2.101.0. gcc/d/ChangeLog: * dmd/MERGE: Merge upstream dmd c8ae4adb2e. * typeinfo.cc (check_typeinfo_type): Update for new front-end interface. (TypeInfoVisitor::visit (TypeInfoStructDeclaration *)): Remove warning that toHash() must be declared 'nothrow @safe`. libphobos/ChangeLog: * libdruntime/MERGE: Merge upstream druntime c8ae4adb2e. * src/MERGE: Merge upstream phobos 792c8b7c1. --- libphobos/src/std/uni/package.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libphobos/src/std/uni') diff --git a/libphobos/src/std/uni/package.d b/libphobos/src/std/uni/package.d index 81b949e..c31912a 100644 --- a/libphobos/src/std/uni/package.d +++ b/libphobos/src/std/uni/package.d @@ -6271,8 +6271,8 @@ struct UnicodeSetParser(Range) { if (casefold_) { - auto range = simpleCaseFoldings(ch); - foreach (v; range) + auto foldings = simpleCaseFoldings(ch); + foreach (v; foldings) set |= v; } else -- cgit v1.1