Files
swift-mirror/validation-test/IDE/crashers_2_fixed/rdar67102611.swift
Rintaro Ishizaki d9a9b59634 [CodeCompletion] Skip an ASTScope assertion for labeled statements
Code completion performs 'typeCheckASTNodeAtLoc()' which ignores
'StmtChecker::ActiveLabeledStmts'. Since this is not necessary for code
completions, skip an assertion to verify the correctness of ASTScope.

rdar://problem/67102611
2020-08-14 16:01:47 -07:00

7 lines
148 B
Swift

// RUN: %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s > /dev/null
for x in "foo" {
if x.#^A^# {
}
}