Files
swift-mirror/validation-test/IDE/crashers_2_fixed/rdar71566576.swift
Alex Hoppen dc88b4b735 Add test case for rdar://71566576
rdar://71566576 appears to have been fixed already. Still, add a test case for it to ensure we don’t hit it again.
2021-03-19 19:54:20 +01:00

4 lines
148 B
Swift

// RUN: %swift-ide-test -code-completion -code-completion-token=COMPLETE -source-filename %s
if let item = ["a"].first(where: { #^COMPLETE^# }) {}