Skip to content

Commit

Permalink
Bump moc.js to 0.11.0 (#271)
Browse files Browse the repository at this point in the history
* 0.15.3

* Bump 'motoko' npm package

* 0.15.3 (actually this time)

* Update go-to-definition logic

* Update readme
  • Loading branch information
rvanasa authored Mar 5, 2024
1 parent 1d3f8f5 commit 04020a5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ If you want VS Code to automatically format Motoko files on save, consider addin

### Set up your local development environment:

Ensure that [Node.js >= 14.x](https://nodejs.org/en/) and [Cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) are installed on your system.
Ensure that [Node.js >= 16.x](https://nodejs.org/en/) and [Cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) are installed on your system.

```bash
git clone https://github.com/dfinity/vscode-motoko
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-motoko",
"displayName": "Motoko",
"description": "Motoko language support",
"version": "0.15.2",
"version": "0.15.3",
"publisher": "dfinity-foundation",
"repository": "https://github.com/dfinity/vscode-motoko",
"engines": {
Expand Down Expand Up @@ -172,7 +172,7 @@
"ic-mops": "0.26.3",
"ic0": "0.2.7",
"mnemonist": "0.39.5",
"motoko": "3.6.12",
"motoko": "3.6.13",
"prettier": "2.8.0",
"prettier-plugin-motoko": "0.8.4",
"url-relative": "1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/server/syntax.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export function fromAST(ast: AST): Syntax {
return prog;
} else if (ast.name === 'ObjBlockE' && ast.args) {
const sort = ast.args[0] as ObjSort;
const fields = ast.args.slice(1) as Node[];
const fields = ast.args.slice(2) as Node[];

const obj = new ObjBlock(ast, sort);
fields.forEach((field) => {
Expand Down

0 comments on commit 04020a5

Please sign in to comment.