From c9b298c5eed7abec0aff02d1f67e18e5ea938fc9 Mon Sep 17 00:00:00 2001 From: Ujjwal Sharma Date: Tue, 23 Apr 2019 15:35:49 +0530 Subject: deps: update ICU to 64.2 Update the version of the bundled ICU (deps/icu-small) to ICU version 64.2 (Unicode 12, CLDR 35) Fixes: https://github.com/nodejs/node/issues/26388 PR-URL: https://github.com/nodejs/node/pull/27361 Reviewed-By: Richard Lau Reviewed-By: Steven R Loomis Reviewed-By: Michael Dawson --- deps/icu-small/source/common/uinvchar.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'deps/icu-small/source/common/uinvchar.cpp') diff --git a/deps/icu-small/source/common/uinvchar.cpp b/deps/icu-small/source/common/uinvchar.cpp index eafb951e38..2e0f42d927 100644 --- a/deps/icu-small/source/common/uinvchar.cpp +++ b/deps/icu-small/source/common/uinvchar.cpp @@ -207,8 +207,7 @@ u_UCharsToChars(const UChar *us, char *cs, int32_t length) { while(length>0) { u=*us++; if(!UCHAR_IS_INVARIANT(u)) { - U_ASSERT(FALSE); /* Variant characters were used. These are not portable in ICU. */ - u=0; + UPRV_UNREACHABLE; /* Variant characters were used. These are not portable in ICU. */ } *cs++=(char)UCHAR_TO_CHAR(u); --length; -- cgit v1.2.3