Commit Graph

3 Commits

Author SHA1 Message Date
Alex Hoppen
32eff21977 [IDE] Remove "Begin completions" and "End completions" from test cases
These test lines weren't actually providing any value and were annoying to write. Let's jut remove them.
2023-03-22 09:07:17 -07:00
Rintaro Ishizaki
defb593f8d [CodeCompletion] Migrate some tests to batch completion test 2021-04-01 22:33:12 -07:00
Rintaro Ishizaki
3b97b8647c [CodeCompletion] Suggest 'Self' inside struct, enum and classe
In 'protocol', 'Self' is implicitly declared as a generic parameter.
In 'struct' and 'enum', 'Self' is just an alias for the nominal type.
In 'class', 'Self' is a dynamic type and usable only in result types and
inside function bodies.

rdar://problem/61307680
2020-06-02 14:58:10 -07:00