Skip to content

Commit

Permalink
ensure js-await being wrapped by parentheses; bump 0.4.13
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Jul 30, 2021
1 parent 43323b2 commit 627045c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "calcit_runner"
version = "0.4.12"
version = "0.4.13"
authors = ["jiyinyiyong <jiyinyiyong@gmail.com>"]
edition = "2018"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@calcit/procs",
"version": "0.4.12",
"version": "0.4.13",
"main": "./lib/calcit.procs.js",
"devDependencies": {
"@types/node": "^15.12.2",
Expand Down
2 changes: 1 addition & 1 deletion src/codegen/emit_js.rs
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ fn gen_call_code(
},
"js-await" => match body.get(0) {
Some(body) => Ok(format!(
"await {}",
"(await {})",
to_js_code(&body, ns, local_defs, file_imports, &None)?,
)),
None => Err(format!("`new` expected constructor, got nothing, {}", xs)),
Expand Down
2 changes: 1 addition & 1 deletion ts-src/calcit.procs.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// CALCIT VERSION
export const calcit_version = "0.4.12";
export const calcit_version = "0.4.13";

import { overwriteComparator, initTernaryTreeMap } from "@calcit/ternary-tree";
import { parse } from "@cirru/parser.ts";
Expand Down

0 comments on commit 627045c

Please sign in to comment.