I'd like to know if anyone can reproduce this before I file a bug:
> swift
Welcome to Apple Swift version 4.1 (swiftlang-902.0.48 clang-902.0.39.1). Type :help for assistance.
1> import simd
2> 1 * 2 / 3.0
$R0: Double = 0.66666666666666663
3> simd_normalize(float2(1, 2))
$R1: simd_float2 = {
_vector = {}
}
4> 1 * 2 / 3.0
After pressing return for this last line (4), the REPL hangs.
(Note that the exact same expression worked at line 2, and it's only after calling the simd_normalize (or other simd functions) that it hangs, on expressions like that.)
Is it just me or can anyone reproduce this?