From 78899471be2e3cb1f5bda56ad5d3d8d084534515 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 22 Apr 2021 00:13:30 +0800 Subject: stash --- test/basic/linker.txt | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'test/basic') diff --git a/test/basic/linker.txt b/test/basic/linker.txt index 284623cd..86930dd1 100644 --- a/test/basic/linker.txt +++ b/test/basic/linker.txt @@ -82,7 +82,23 @@ local = f() ``` 'd|A' -'f|1:1' -'f|1' + ':1' -'l|1' + ':1' -'s|1' + ':1' +'f|1|#1' +'f|1' + '|#1' +'l|1' + '|#1' +'s|1' + '|#1' + +```lua +---@generic T +---@param a T +---@return T +local function f(a) end + +local + +local = f(c) +``` + +'l1' +'l2|@1' +'f|1|@1' +'f|1|#1' -- cgit v1.2.3