Skip to content

Commit

Permalink
[#209]feat: 튜플타입 주입
Browse files Browse the repository at this point in the history
  • Loading branch information
seroak committed Nov 7, 2024
1 parent d3f9269 commit ae27494
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ const RightSection = () => {
if (typeof variable.expr === "string") {
(variable as VariableExprArray).expr = variable.expr.slice(1, -1).split(",");
}
} else if(variable.type.toLowerCase() === "tuple") {
} else if (variable.type.toLowerCase() === "tuple") {
if (typeof variable.expr === "string") {
(variable as VariableExprArray).expr = variable.expr.slice(1, -1).split(",");
}
Expand Down Expand Up @@ -382,7 +382,7 @@ const RightSection = () => {
highlightLine.push((preprocessedCode as CreateCallStackDto).id);

for (let arg of (preprocessedCode as CreateCallStackDto).args) {
if (arg.type === "list") {
if (arg.type === "list" || arg.type === "tuple") {
accDataStructures[(preprocessedCode as CreateCallStackDto).callStackName].data.push({
expr: arg.expr.slice(1, -1).split(","),
name: arg.name,
Expand Down

0 comments on commit ae27494

Please sign in to comment.