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

Struct containing user-defined type causes compilation crash. #1724

Open
Subway2023 opened this issue Feb 8, 2025 · 0 comments
Open

Struct containing user-defined type causes compilation crash. #1724

Subway2023 opened this issue Feb 8, 2025 · 0 comments

Comments

@Subway2023
Copy link

Version: v0.3.3: Atlantis

type Small is uint16;
type Left is bytes2;
struct S { uint8 a; Small b; Left c; uint8 d; }
solang compile --target solana test.sol

thread 'main' panicked at 'not implemented', src/sema/types.rs:1837:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@Subway2023 and others