We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75b15d9 commit 99e5028Copy full SHA for 99e5028
program.cairo
@@ -0,0 +1,11 @@
1
+use core::box::BoxTrait;
2
+
3
+enum MyEnum {
4
+ A: felt252,
5
+ B: u128,
6
+}
7
8
+fn run_test() -> MyEnum {
9
+ let x = BoxTrait::new(MyEnum::A(1234));
10
+ x.unbox()
11
0 commit comments