DCD/tests/tc_inlay_hints/file.d
Jan Jurzitza b79982d509
Add a new request to get inlay hints (#764)
Co-authored-by: ryuukk <ryuukk.dev@gmail.com>
2023-12-04 09:38:58 +00:00

17 lines
286 B
D

// when extending the inlayHints capabilities, don't forget to update the --help
// text inside client.d
import point;
import point : P = Point;
void foo(int x, int y) {}
void foo(Point point) {}
void bar(P point, int z = 1) {}
void main()
{
P p;
foo(1, 2);
foo(p);
bar(p, 3);
}