TGViewer
Tact Kitchen Tact Kitchen @tact_kitchen · 505 subscribers
Post #16 542
⚡️ 0. Added a Slice.loadBool() function to the core library

It nicely mirrors the existing Builder.storeBool() function, loading a single bit as a signed Int and producing true if it's 1 in binary, and false otherwise.

let slice = beginCell().storeBool(true).asSlice();
let dice = slice.loadBool(); // true


💡 Inspired by a discussion with a community member
🧑‍🍳 Contributor: Gusarich
🐙 Implementation: #412
🍽 To be released in: v1.4.0


⚡️ 1. Fixed a compilation failure with as coins serialization in maps

Previously, if you've tried to compile the following (or similar):

import "@stdlib/deploy";

contract WhatCoin with Deployable {
c: map<Address, Int as coins>; // ← 👀
}


It produced a compilation error, telling you that coins is unsupported in map values. But that wasn't right, coins serialization format for Ints as map keys and values should've been supported!

✅ And now it is, so the snippet above compiles just fine.

⁉️ Reported by: howardpen9
🧑‍🍳 Fixed by: Gusarich
🐙 Implementation: #413
🍽 To be released in: v1.4.0

🍲 Gimme, gimme, gimme your bugs after midnight
♨️ @tact_kitchen
  • ⚡ 6
More from @tact_kitchen
  1. May 30, 2025🎉 Tact Language Server & VS Code Extension v0.8.0 are live! Smarter code insight, TL-B su…
  2. May 28, 2025🎉 Tact v1.6.12 is released! This is another joint release: both v1.6.11 and v1.6.12 were…
  3. May 22, 2025We’ve launched the ultimate hunt for bugs and hacker mastery — the epic CTF has begun at p…
  4. May 19, 2025🎉 Tact v1.6.10 is released! Recently, TVM version 10 was rolled out in the mainnet. It in…
  5. May 7, 2025For you all, JetBrains IDEs lovers: intelli-tact plugin release 📸 🍲 got IDEA? ♨️ @tact_k…
  6. May 7, 2025🎉 Tact v1.6.7 is released! We've been listening to your feedback and analyzing the code w…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →