diff options
author | Li Jin <dragon-fly@qq.com> | 2024-03-06 10:05:37 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2024-03-06 10:05:37 +0800 |
commit | 5a57ffa3556a70561a0df7fd6125339b9383810e (patch) | |
tree | 33d37ab9ef873515ef1a1dc08c81c6298bc69f3a /src | |
parent | 4e9a508a11c16db9aeff44b27e88713ab413bff7 (diff) | |
download | yuescript-5a57ffa3556a70561a0df7fd6125339b9383810e.tar.gz yuescript-5a57ffa3556a70561a0df7fd6125339b9383810e.tar.bz2 yuescript-5a57ffa3556a70561a0df7fd6125339b9383810e.zip |
forgot to remove an unnecessary const declaration.
Diffstat (limited to 'src')
-rw-r--r-- | src/yuescript/yue_compiler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuescript/yue_compiler.cpp b/src/yuescript/yue_compiler.cpp index f23d5f0..8583f02 100644 --- a/src/yuescript/yue_compiler.cpp +++ b/src/yuescript/yue_compiler.cpp | |||
@@ -75,7 +75,7 @@ static std::unordered_set<std::string> Metamethods = { | |||
75 | "close"s // Lua 5.4 | 75 | "close"s // Lua 5.4 |
76 | }; | 76 | }; |
77 | 77 | ||
78 | const std::string_view version = "0.22.2"sv; | 78 | const std::string_view version = "0.22.3"sv; |
79 | const std::string_view extension = "yue"sv; | 79 | const std::string_view extension = "yue"sv; |
80 | 80 | ||
81 | class CompileError : public std::logic_error { | 81 | class CompileError : public std::logic_error { |
@@ -7081,7 +7081,6 @@ private: | |||
7081 | assignment->expList.set(expList); | 7081 | assignment->expList.set(expList); |
7082 | assignment->action.set(assign); | 7082 | assignment->action.set(assign); |
7083 | transformAssignment(assignment, temp); | 7083 | transformAssignment(assignment, temp); |
7084 | markDestructureConst(assignment); | ||
7085 | } | 7084 | } |
7086 | out.back().append(join(temp)); | 7085 | out.back().append(join(temp)); |
7087 | } | 7086 | } |