DCD/tests/tc_ufcs_completions/fooutils/fooutils.d

30 lines
595 B
D

module fooutils;
struct Foo {
void fooHey(){ }
}
void u(Foo foo) {
}
void ufcsHello(ref Foo foo)
{
}
void ufcsBar(Foo foo, string mama)
{
}
void ufcsBarRef(ref Foo foo, string mama)
{
}
void ufcsBarRefConst(ref const Foo foo, string mama)
{
}
void ufcsBarRefConstWrapped(ref const(Foo) foo, string mama) {}
void ufcsBarRefImmuttableWrapped(ref immutable(Foo) foo, string mama) {}
void ufcsBarScope(ref scope Foo foo, string mama) {}
void ufcsBarReturnScope(return scope Foo foo, string mama) {}
private void privateUfcsBar(Foo foo, string message) {}
void notUfcsBar(string message) {}