You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you using the latest released (or pre-released, a.k.a. "next") version?
I'm using the latest Tact version
Tact source code
import"@stdlib/deploy";
// Empty Messagemessage(7) Seven {}
asmfunpushSeven(msg: Seven) { }
// Message with one fieldmessage(8) NotSeven { but: Int }
asmfunpushNotSeven(msg: NotSeven) { }
// Utilityasmfundrop() { DROP }
contractShowcasewithDeployable {
receive("showcase") {
dumpStack();
pushSeven(Seven{}); // pushes []dumpStack();
pushNotSeven(NotSeven{ but: 8 }); // pushes 8dumpStack();
// To leave the stack as we've found it at the start of the functiondrop(); // dropping the tuple of Sevendrop(); // dropping the `but` of NotSeven
}
}
Relevant Tact/build system log output
# Pay attention to the values to the right of C{96...C7}#DEBUG#: File showcase.tact:16:9:#DEBUG#: dumpStack()#DEBUG#: stack(3 values) : 500000000 C{96...C7} 0#DEBUG#: File showcase.tact:18:9:#DEBUG#: dumpStack()#DEBUG#: stack(4 values) : 500000000 C{96...C7} 0 []#DEBUG#: File showcase.tact:20:9:#DEBUG#: dumpStack()#DEBUG#: stack(5 values) : 500000000 C{96...C7} 0 [] 8
Are you using the latest released (or pre-released, a.k.a. "next") version?
Tact source code
Relevant Tact/build system log output
What happened?
No response
What did you expect?
Instead of the following:
Tact can produce:
Steps to reproduce
No response
How do you run Tact?
Blueprint, Tact CLI
Anything else?
This is especially inconvenient when working with values that cannot be expressed in the Tact's current type system, such as tuples: #1127 (comment)
The text was updated successfully, but these errors were encountered: