-
-
Notifications
You must be signed in to change notification settings - Fork 11
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.3.0 #177
Labels
enhancement
New feature or request
Comments
16 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 Tact team has just release Tact v1.3.0 on NPM.
The full CHANGELOG for Tact v1.3.0 can be found here: https://github.com/tact-lang/tact/blob/main/CHANGELOG.md#130---2024-05-03
And here are a summary of editor/IDE-relevant Tact features.
New or fixed syntax
\\
,\"
,\n
,\r
,\t
,\v
,\b
,\f
,\u{0}
through\u{FFFFFF}
,\u0000
through\uFFFF
,\x00
through\xFF
.!!
, for instance,map.asCell()!!.hash()
is grammatically correct now.initOf
arguments,init()
parameters, inherited traits viawith
, function arguments and parameters.{foo, bar}
is syntactic sugar for{ foo: foo, bar: bar }
.with
is used.^
) operator.init
function is now present by default in the contract if not declared.try {...}
andtry {...} catch {...}
statements.foreach
loop for theMap
type:foreach (k, v in map) {...}
.New stdlib functions
pow2
,log2
andlog
math functions in@stdlib/math
.@stdlib/reserve
, namelyReserveExact
,ReserveAllExcept
,ReserveAtMost
,ReserveAddOriginalBalance
,ReserveInvertSign
,ReserveBounceIfActionFail
.New methods
concat
non-modifyingStringBuilder
's extension function for chained string concatenations:foo.concat(bar).concat(baz)
.toString
extension function forAddress
type:addr.toString
.isEmpty
anddel
extension functions for theMap
type:map.isEmpty
,map.del(key)
.The text was updated successfully, but these errors were encountered: