mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
9 lines
406 B
Swift
9 lines
406 B
Swift
// While running completion on this, the typechecker produces a diagnostic and
|
|
// an AST with an error type. If the ASTVerifier ran on the AST with the error
|
|
// type, then it would fail. This test verifies that the ASTVerifier does not
|
|
// run on ASTs with error types produced by completion requests.
|
|
|
|
// RUN: %target-swift-ide-test -repl-code-completion -source-filename=%s
|
|
|
|
let bar: NotARealType = 0; ba
|