Files
swift-mirror/validation-test/IDE/crashers_fixed/066-swift-conformancelookuptable-expandimpliedconformances.swift
Chris Lattner 7c97117d77 Fix IDE crashers 027, 066, and 068.
Expand the "skip" functions in the parser to be more careful about
not skipping passed a #endif or a code completion token, since they
are synchronization points for the parser.

The fix was to change Parser::delayParseFromBeginningToHere to use
a manual loop instead of skipUntil (which can stop early for non-EOF
tokens).
2016-02-01 16:36:28 -08:00

6 lines
144 B
Swift

// RUN: %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s
class#^A^#{
protocol e:A
protocol A:A
protocol c:e