diff options
-rw-r--r-- | script/core/hover/label.lua | 2 | ||||
-rw-r--r-- | test/hover/init.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/script/core/hover/label.lua b/script/core/hover/label.lua index d96b149c..71cbef43 100644 --- a/script/core/hover/label.lua +++ b/script/core/hover/label.lua @@ -45,7 +45,7 @@ local function asDocTypeName(source) end local function asValue(source, title) - local name = buildName(source) + local name = buildName(source, false) local type = infer.searchAndViewInfers(source) local literal = infer.searchAndViewLiterals(source) local cont diff --git a/test/hover/init.lua b/test/hover/init.lua index 13cc87e0..26064b5f 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1225,7 +1225,7 @@ local t = {f = f} t:<?f?>() ]] [[ -field t:f: fun(a: any, b: any) +field t.f: fun(a: any, b: any) ]] TEST [[ |