You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2020. It is now read-only.
The following code crashes on the last line with a fatal error : String index is out of bounds instead of throwing an error
let scanner = StringScanner("1.0")
try scanner.skip(charactersIn: .whitespaces)
let red = try scanner.scanFloat()
try scanner.skip(charactersIn: .whitespaces)
let green = try scanner.scanFloat()