Skip to content
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

2.0.5 #159

Merged
merged 1 commit into from
Jan 24, 2024
Merged

2.0.5 #159

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# TON Development Changelog

## [2.0.5]

- fixed builtin functions resolving for `load_int`, `load_uint`

## [2.0]

### Complete plugin rework
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
org.gradle.jvmargs=-Xmx4096m
pluginGroup=org.ton
pluginVersion=2.0.4
pluginVersion=2.0.5
publishChannel=release
publishToken=token
enableBuildSearchableOptions=false
Expand Down
6 changes: 6 additions & 0 deletions src/main/kotlin/org/ton/intellij/func/psi/FuncPsiFactory.kt
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,15 @@ class FuncPsiFactory private constructor(val project: Project) {
;;; Throws exception [`excno`] with parameter [`x`] only if [`cond`] == `0`.
forall X -> () throw_arg_unless(X x, int excno, int cond) impure asm "THROWARGANYIFNOT";

;;; Loads a signed [`len`]-bit integer from slice [`s`].
(slice, int) load_int(slice s, int len) asm(s len -> 1 0) "LDIX";

;;; Loads a signed [`len`]-bit integer from slice [`s`].
(slice, int) ~load_int(slice s, int len) asm(s len -> 1 0) "LDIX";

;;; Loads a unsigned [`len`]-bit integer from slice [`s`].
(slice, int) load_uint(slice s, int len) asm(s len -> 1 0) "LDUX";

;;; Loads a unsigned [`len`]-bit integer from slice [`s`].
(slice, int) ~load_uint(slice s, int len) asm(s len -> 1 0) "LDUX";

Expand Down
Loading