Skip to content

Commit 85c85d3

Browse files
committed
fix #257
1 parent 2fb6504 commit 85c85d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script-beta/parser/guide.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ end
778778

779779
function m.getSimpleName(obj)
780780
if obj.type == 'call' then
781-
local key = obj.args[2]
781+
local key = obj.args and obj.args[2]
782782
return m.getKeyName(key)
783783
elseif obj.type == 'table' then
784784
return ('t|%p'):format(obj)

0 commit comments

Comments
 (0)