Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
Signed-off-by: Runji Wang <wangrunji0408@163.com>
  • Loading branch information
wangrunji0408 committed Sep 14, 2023
1 parent 64831c0 commit 58bb30f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/expr/macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ impl FunctionAttr {
fn ident_name(&self) -> String {
format!("{}_{}_{}", self.name, self.args.join("_"), self.ret)
.replace("[]", "list")
.replace("...", "varargs")
.replace("...", "variadic")
.replace(['<', '>', ' ', ','], "_")
.replace("__", "_")
}
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/expr/type_inference/func.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@ mod tests {
sig_map.insert(FuncSign {
func: DUMMY_FUNC,
inputs_type: formals,
varargs: false,
variadic: false,
ret_type: DUMMY_RET,
build: |_, _| unreachable!(),
deprecated: false,
Expand Down

0 comments on commit 58bb30f

Please sign in to comment.