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 has been 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()
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
The following code crashes on the last line with a fatal error : String index is out of bounds instead of throwing an error
The text was updated successfully, but these errors were encountered: