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
./src/bin/lpython --backend wasm examples/expr2.py
code generation error: String Types not yet supported
Note: if any of the above error or warning messages are not clear or are lacking
context please report it to us (we consider that a bug that must be fixed).
The --show-wat flag gives the same error as above.
$ lpython examples/expr2.py --backend wasm
code generation error: String Types not yet supported
Note: if any of the above error or warning messages are not clear or are lacking
context please report it to us (we consider that a bug that must be fixed).
Activity
certik commentedon Jul 29, 2023
Yes, the WASM backend is currently more limited than LLVM/C. Can you also post a minimal example?
Thanks for the report!
ubaidsk commentedon Aug 1, 2023
I think we can reproduce the error using the following:
$ lpython examples/expr2.py --backend wasm code generation error: String Types not yet supported Note: if any of the above error or warning messages are not clear or are lacking context please report it to us (we consider that a bug that must be fixed).