diff options
author | Li Jin <dragon-fly@qq.com> | 2022-07-29 09:00:17 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2022-07-29 09:00:17 +0800 |
commit | be7fabeef0b6de9b15c2ff34e95794d87042c3bd (patch) | |
tree | d7860e34ca53416902099c39b51a9e0f1651e53e /spec/inputs/import.yue | |
parent | c1a599fccfd3c37ad2afc743b2a49cc5290fcb9f (diff) | |
download | yuescript-0.14.4.tar.gz yuescript-0.14.4.tar.bz2 yuescript-0.14.4.zip |
fix not marking variables from `import from` statement to be const issue.v0.14.4
Diffstat (limited to 'spec/inputs/import.yue')
-rw-r--r-- | spec/inputs/import.yue | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/spec/inputs/import.yue b/spec/inputs/import.yue index e206d04..570b909 100644 --- a/spec/inputs/import.yue +++ b/spec/inputs/import.yue | |||
@@ -1,17 +1,12 @@ | |||
1 | 1 | ||
2 | 2 | ||
3 | import hello from yeah | 3 | import hello from yeah |
4 | import hello, world from table["cool"] | 4 | import holla, world from table["cool"] |
5 | |||
6 | import a, \b, c from items | ||
7 | 5 | ||
6 | import x, \y, z from items | ||
8 | 7 | ||
9 | import master, \ghost from find "mytable" | 8 | import master, \ghost from find "mytable" |
10 | 9 | ||
11 | |||
12 | a, yumm = 3434, "hello" | ||
13 | |||
14 | |||
15 | _table_0 = 232 | 10 | _table_0 = 232 |
16 | 11 | ||
17 | import something from a table | 12 | import something from a table |