Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Commit e6b82ce

Browse files
authored
Merge branch 'main' into language/reference
2 parents fcff4bc + 178d9e8 commit e6b82ce

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/nextjs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ name: Deploy tact-docs to Pages
66

77
on:
88
# Runs on pushes targeting the default branch
9-
push:
10-
branches: ["main"]
9+
# push:
10+
# branches: ["main"]
1111

1212
# Allows you to run this workflow manually from the Actions tab
1313
workflow_dispatch:

grammars/grammar-tact.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
]
176176
},
177177
"operator-logic": {
178-
"match": "(==|<(?!<)|<=|>(?!>)|>=|\\&\\&|\\|\\||\\:(?!=)|\\?)",
178+
"match": "(==|<(?!<)|<=|>(?!>)|>=|\\&\\&|\\|\\||\\:(?!=)|\\?|!|!!|!=)",
179179
"name": "keyword.operator.logic"
180180
},
181181
"operator-mapping": {

pages/book/guides/getting-started/deploy.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ To deploy a smart contract in TON you need to send a message with `init` data at
99
```typescript
1010
import base64url from 'base64url';
1111
import qs from 'qs';
12-
import { Address, beginCell, storeStateInit, contractAddress, toNano } from 'ton-core';
12+
import { Address, beginCell, storeStateInit, contractAddress, toNano } from '@ton/core';
1313
import { Counter } from './output/sample_Counter';
1414

1515
// Forming an init package

pages/book/operators.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Can only be applied to values of type [`Int{:tact}`][int]:
114114
```tact
115115
let two: Int = 2;
116116
two / 2; // 1
117-
two / 1; // 0
117+
two / 1; // 2
118118
-1 / 5; // -1
119119
```
120120

@@ -127,7 +127,7 @@ Can only be applied to values of type [`Int{:tact}`][int]:
127127
```tact
128128
let two: Int = 2;
129129
two % 2; // 0
130-
two % 1; // 1
130+
1 % two; // 1
131131
132132
1 % 5; // 1
133133
-1 % 5; // 4

0 commit comments

Comments
 (0)