Playground crashes on let locale = Locale.current

Hi


Some code that I first wrote and ran without problem in an ios app is crashing in a Playground.


Simply doing:
let locale = Locale.current


gives me

error: Execution was interrupted, reason: EXC_BAD_ACCESS (code=EXC_I386_GPFLT).

The process has been left at the point where it was interrupted, use "thread return -x" to return to the state before expression evaluation.


I'm using xcode 9.0 beta 2 (9M137d)

Is this a bug in Playgrounds or something?

Replies

Seems this is a bug of Playgrounds and Report Bugs is the right place to go.