Files
swift-mirror/validation-test/IDE/crashers_fixed/009-swift-performdelayedparsing.swift
Ben Langmuir 812d1566a7 [CodeCompletion] Don't look through non-type contexts in override
We don't actually want to skip non-type contexts here, since we should
only be showing override completions in the type context itself. This
was pretty obscure to hit in practice, but I noticed it while fixing the
crasher.
2016-03-12 08:39:11 -08:00

6 lines
294 B
Swift

// RUN: %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s | FileCheck %s
enum b:a{var f={static#^A^#
// FIXME: we shouldn't back the parser to the beginning of the line, it leads
// to ridiculous override completions like this.
// CHECK-NOT: Decl{{.*}}/Super