This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
forked from move-language/move
-
Notifications
You must be signed in to change notification settings - Fork 34
[Bug] unreachable code in struct type to llvm type conversion while compiling standard library tests #312
Labels
bug
Something isn't working
Comments
See this, may be the same: |
Here is a simple reproducer.
One can reproduce the same error in any of these runs:
or
or
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
🐛 Bug
Move-to-solana translator reaches an
unreachable!()
while converting a struct type to llvm type. This is triggered by struct type not being found by the struct name.To reproduce
This bug is currently difficult to reproduce because it is triggered while compiling move-stdlib unit tests. This is enabled by the
move test --solana
that I'm currently working on.The command to reproduce the problem follows (run in move repository top-level subdir)
Stack trace/error message
The move-cli with solana test runner currently exists only on my branch https://github.com/dmakarov/move/tree/dm/test
The text was updated successfully, but these errors were encountered: