summaryrefslogtreecommitdiff
path: root/tests/language-server/override-completion-2.slang
blob: 510af7020755f71bb2f0e83a5050780a025067a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//TEST:LANG_SERVER(filecheck=CHECK):
interface IBar{ associatedtype AT; }
interface IFoo
{
    associatedtype B : IBar;
//HOVER:7,12
    static B.AT execute(int x);
}

struct Impl : IFoo
{
//COMPLETE:13,14
    override 
}

//CHECK: associatedtype This.B
//CHECK: static B.AT execute(int x)