Files
swift-mirror/test/IDE/complete_in_enum_decl.swift
Alex Hoppen 695c725f1e [CodeComplete] Return true from canParseType if type contains code completion token
From my point of view, a type that contains a code completion token can still be parsed as a type and as such, `canParseType` should return `true` for e.g. `#^COMPLETE^#` or `SomeType.#^COMPLETE^#`.

Changing this fixes an issue that caused no type completions to be shown inside a enum case decl.

Fixes rdar://71984715
2021-03-23 15:02:26 +01:00

2.4 KiB