diff options
author | Li Jin <dragon-fly@qq.com> | 2022-12-28 15:55:15 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2022-12-28 15:55:15 +0800 |
commit | dba662758192b41648e6c1201083d83926f07783 (patch) | |
tree | 4eca06097fce6ac52bbf5276a6ac2da4affb90d0 /spec/inputs | |
parent | 5e453de810f8a5e54351609857d742481f057498 (diff) | |
download | yuescript-dba662758192b41648e6c1201083d83926f07783.tar.gz yuescript-dba662758192b41648e6c1201083d83926f07783.tar.bz2 yuescript-dba662758192b41648e6c1201083d83926f07783.zip |
add metamethods checking.
Diffstat (limited to 'spec/inputs')
-rw-r--r-- | spec/inputs/import.yue | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/inputs/import.yue b/spec/inputs/import.yue index af5545d..fe5caf5 100644 --- a/spec/inputs/import.yue +++ b/spec/inputs/import.yue | |||
@@ -64,8 +64,9 @@ do | |||
64 | import "org.package.module" as function:func, if:ifVar | 64 | import "org.package.module" as function:func, if:ifVar |
65 | 65 | ||
66 | do | 66 | do |
67 | import "m" as {<a>: b} | 67 | import "m" as {<gc>: b} |
68 | import "m" as {e: f, <a>: c} | 68 | import "m" as {:<index>} |
69 | import "m" as {e: f, <pairs>: c} | ||
69 | import "m" as {c: d} | 70 | import "m" as {c: d} |
70 | import "m" as {g, {<h>: i}} | 71 | import "m" as {g, {<close>: i}} |
71 | 72 | ||