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
When triggering autocomplete in the REPL on a value, whose type is not defined in the Swift standard library or in the session itself, the REPL crashes.
Steps to reproduce:
Start the Swift REPL
execute import Foundation
execute let a: NSArray = []
type in a
press tab to trigger autocomplete
This crashes the REPL and the following error is emitted:
Environment
Apple Swift version 5.1 (swiftlang-1100.0.266.1 clang-1100.0.32.1).
Additional Detail from JIRA
md5: 9f3385249e99fe58d4a40f6d7dc53038
duplicates:
Issue Description:
When triggering autocomplete in the REPL on a value, whose type is not defined in the Swift standard library or in the session itself, the REPL crashes.
Steps to reproduce:
Start the Swift REPL
execute
import Foundation
execute
let a: NSArray = []
type in
a
press tab to trigger autocomplete
This crashes the REPL and the following error is emitted:
When running a package in the REPL with
swift run --repl
and then performing autocomplete on a type from that package, a different error is emitted:The text was updated successfully, but these errors were encountered: