Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Clarify that Struct.fromCell() and similar functions aren't extension functions per se #1786

Open
novusnota opened this issue Feb 11, 2025 · 0 comments
Assignees
Labels
docs: Reference /ref section of the docs: API reference, standard libraries, specification and evolution kind: docs Documentation for docs.tact-lang.org kept in docs folder
Milestone

Comments

@novusnota
Copy link
Member

novusnota commented Feb 11, 2025

And derive a better signature for them. This is also important for the language server: tact-lang/tact-language-server#187.

Technically, those are global functions that just happen to be hidden in namespaces of all Struct and Message types.

  • StructType.fromCell()
  • StructType.fromSlice()
  • MessageType.fromCell()
  • MessageType.fromSlice()
@novusnota novusnota added the docs: Reference /ref section of the docs: API reference, standard libraries, specification and evolution label Feb 11, 2025
@novusnota novusnota added this to the Doc: 2025-02 milestone Feb 11, 2025
@novusnota novusnota self-assigned this Feb 11, 2025
@novusnota novusnota added the kind: docs Documentation for docs.tact-lang.org kept in docs folder label Feb 11, 2025
@novusnota novusnota modified the milestones: Doc: 2025-02, Doc: 2025-03 Mar 2, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
docs: Reference /ref section of the docs: API reference, standard libraries, specification and evolution kind: docs Documentation for docs.tact-lang.org kept in docs folder
Projects
None yet
Development

No branches or pull requests

1 participant