mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
In one place we were calling hasError() and in another directly checking for ErrorType; if we had a type containing an ErrorType as a structural component, we would hit an assertion.
4 lines
107 B
Swift
4 lines
107 B
Swift
// RUN: %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s
|
|
|
|
Integer#^A^#
|