From 50e6cd02d535e12e085eab7d8bdcb4757be857f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 11 Jun 2021 14:52:40 +0800 Subject: rename getAst -> getState --- test/basic/noder.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/basic') diff --git a/test/basic/noder.lua b/test/basic/noder.lua index 3e5e9f25..99c28964 100644 --- a/test/basic/noder.lua +++ b/test/basic/noder.lua @@ -4,7 +4,7 @@ local util = require 'utility' local guide = require 'parser.guide' local function getSource(pos) - local ast = files.getAst('') + local ast = files.getState('') return guide.eachSourceContain(ast.ast, pos, function (source) if source.type == 'local' or source.type == 'getlocal' -- cgit v1.2.3