summaryrefslogtreecommitdiff
path: root/spec/inputs/import.yue
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-07-29 09:00:17 +0800
committerLi Jin <dragon-fly@qq.com>2022-07-29 09:00:17 +0800
commitbe7fabeef0b6de9b15c2ff34e95794d87042c3bd (patch)
treed7860e34ca53416902099c39b51a9e0f1651e53e /spec/inputs/import.yue
parentc1a599fccfd3c37ad2afc743b2a49cc5290fcb9f (diff)
downloadyuescript-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.yue9
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
3import hello from yeah 3import hello from yeah
4import hello, world from table["cool"] 4import holla, world from table["cool"]
5
6import a, \b, c from items
7 5
6import x, \y, z from items
8 7
9import master, \ghost from find "mytable" 8import master, \ghost from find "mytable"
10 9
11
12a, yumm = 3434, "hello"
13
14
15_table_0 = 232 10_table_0 = 232
16 11
17import something from a table 12import something from a table