tact icon indicating copy to clipboard operation
tact copied to clipboard

Implement constant string receivers

Open Gusarich opened this issue 1 year ago • 3 comments

Closes #51

  • [x] I have updated CHANGELOG.md
  • [x] I have added tests to demonstrate the contribution is correctly implemented: this usually includes both positive and negative tests, showing the happy path(s) and featuring intentionally broken cases
  • [x] I have run all the tests locally and no test failure was reported
  • [x] I did not do unrelated and/or undiscussed refactorings

Gusarich avatar Jun 11 '24 19:06 Gusarich

just found out it doesn't work correctly for contract-scoped constants. I'll fix that

Gusarich avatar Jun 11 '24 20:06 Gusarich

Fixed. However, there's a temporary limitation on lvalue paths. I had to add it because #284 and #400 aren't resolved yet. We'll be able to support strings from constant structs after these are resolved.

Gusarich avatar Jun 11 '24 21:06 Gusarich

Rebased, added more tests and implemented handling constant values from structs. Also found #439 during testing.

Gusarich avatar Jun 19 '24 11:06 Gusarich

Let's come back to this feature a bit later

anton-trunov avatar Jan 26 '25 06:01 anton-trunov