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

Compilation bug #239

Closed
0kenx opened this issue Apr 11, 2024 · 5 comments
Closed

Compilation bug #239

0kenx opened this issue Apr 11, 2024 · 5 comments
Labels
kind: bug Something isn't working or isn't right

Comments

@0kenx
Copy link
Contributor

0kenx commented Apr 11, 2024

Recently I started running into this compiler error:

Build script running, compiling Proj
⏳ Compiling...   > πŸ‘€ Enabling debug
   > Proj: tact compiler
   > Proj: func compiler
[ 1][t 0][2024-04-11 07:50:28.469000][Fift.cpp:67]	top: <continuation 0x1b07f20>
level 1: <continuation 0x1b07fa0>
level 2: <text interpreter continuation>

main.fif:5929:	$Proj$_internal_binar:-?
πŸ’₯ Compilation failed. Skipping packaging
Error: Could not compile tact

This error is not very helpful, and I couldn't isolate the bug.

@0kenx
Copy link
Contributor Author

0kenx commented Apr 11, 2024

Sometimes the error is:

Build script running, compiling Proj
⏳ Compiling...   > πŸ‘€ Enabling debug
   > Proj: tact compiler
   > Proj: func compiler
File not found
πŸ’₯ Compilation failed. Skipping packaging
Error: Could not compile tact

@0kenx
Copy link
Contributor Author

0kenx commented Apr 11, 2024

I've ran into those errors when I:

  1. modify the layout of large structs
  2. have complex logic branches involving options(?) and !! operator

@anton-trunov
Copy link
Member

This looks a lot like tact-lang/tact-docs#75 and tact-lang/tact-docs#171

@0kenx
Copy link
Contributor Author

0kenx commented Apr 11, 2024

I'm struggling to understand the limitations #1097

@anton-trunov anton-trunov added the kind: bug Something isn't working or isn't right label Apr 24, 2024
@anton-trunov
Copy link
Member

This should be fixed with #1098

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Something isn't working or isn't right
Projects
None yet
Development

No branches or pull requests

2 participants