Skip to content

Commit

Permalink
forgot to remove an unnecessary const declaration.
Browse files Browse the repository at this point in the history
  • Loading branch information
pigpigyyy committed Mar 6, 2024
1 parent 4e9a508 commit 5a57ffa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/yuescript/yue_compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ static std::unordered_set<std::string> Metamethods = {
"close"s // Lua 5.4
};

const std::string_view version = "0.22.2"sv;
const std::string_view version = "0.22.3"sv;
const std::string_view extension = "yue"sv;

class CompileError : public std::logic_error {
Expand Down Expand Up @@ -7081,7 +7081,6 @@ class YueCompilerImpl {
assignment->expList.set(expList);
assignment->action.set(assign);
transformAssignment(assignment, temp);
markDestructureConst(assignment);
}
out.back().append(join(temp));
}
Expand Down

0 comments on commit 5a57ffa

Please sign in to comment.