-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Tact 1.4.0 #180
Comments
21 tasks
Tact v1.4.0 has just been released, looking forward to see it supported in Intellij TON! |
11 tasks
andreypfau
added a commit
that referenced
this issue
Jul 15, 2024
### Added - Support for the latest Tact 1.4.0 ([#177](#177), [#180](#180)) - Inspections for out of range integer values in FunC and Tact - Inspections for integer division by zero in FunC and Tact - Inspections for integer overflow in FunC - Constant expression evaluation in FunC and Tact (with inline hints!) ([#22](#22)) ### Fixed - `message` and `bounced` highlight not working in Tact ([#174](#174)) - `com.intellij.diagnostic.PluginException: Template not found: Fift File` ([#182](#182)) - `Storage for FuncNamedElementIndex.storage is already registered` ([#181](#181))
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following is the list of IDE-relevant changes for Tact v1.4.0 which has been released. This issue is a follow-up on #177. The full changelog is here: https://github.com/tact-lang/tact/blob/main/CHANGELOG.md#140---2024-06-21.
New or changed syntax
~
.|=
,&=
,^=
.foreach
loop for theMap
type now works not only with simple identifiers, but with contract storage and struct fields too:foreach (k, v in self.map) {...}
orforeach (k, v in struct.map) {...}
.struct Foo {x: Int}
is valid syntax now.{ let x: Int = 42 }
is valid syntax now.let
-statements are optional now:let x = 42
is valid syntax now.stdlib functions
skipBits
in stdlib/std/cells.tact:extends mutates native skipBits(self: Slice, l: Int)
(used to returnInt
, now it'svoid
).loadBool
method for slices.fromCell
andfromSlice
methods for struct parsing.nativeThrowWhen
has been renamed tonativeThrowIf
.The text was updated successfully, but these errors were encountered: