Uh oh!
There was an error while loading. Please reload this page.
lib: simplify the readonly properties of icu - #13221
Conversation
refack
commented
May 25, 2017
I'd assume this whole mechanism is necessary if the locale is changed in runtime. @nodejs/intl is there a way to do that? |
There was a problem hiding this comment.
nit: Can you switch to for(var key of expected_keys) { } instead?
Good point. But I am wondering if the locale changed at runtime, |
JacksonTian
commented
May 27, 2017
Yes, The locale can be changed, but the ICU version not. |
jasnell
commented
Jun 1, 2017
ping @srl295 |
Call Object.defineProperty() twice to set readonly property is unnecessary.
BridgeAR
commented
Aug 30, 2017
I guess this can land as is? |
jasnell
commented
Aug 30, 2017
With fresh CI, yes I believe it can. |
BridgeAR
commented
Aug 30, 2017
BridgeAR
commented
Aug 30, 2017
Landed in 83a5eef |
Call Object.defineProperty() twice to set readonly property is unnecessary. PR-URL: #13221 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
srl295
commented
Aug 30, 2017
@refack no, i don't think there's a mechanism to change the default locale at runtime exposed to node. |
Call Object.defineProperty() twice to set readonly property is unnecessary. PR-URL: nodejs/node#13221 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Call Object.defineProperty() twice to set readonly property is unnecessary. PR-URL: #13221 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Call Object.defineProperty() twice to set readonly property is unnecessary. PR-URL: #13221 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
MylesBorins
commented
Sep 20, 2017
Should this be backported to |
JacksonTian
commented
Sep 22, 2017
@MylesBorins It seems the pre-condition #9266 hasn't be backported into v6.x-staging. |
gibfahn
commented
Sep 24, 2017
Left a note on #9266, marking this as don't land for now so we don't keep triaging it for 6.x. |
Call Object.defineProperty() twice to set readonly property is
unnecessary.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
lib/internal/bootstrap_node