mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-21 07:49:17 +03:00
proper transmute to u8
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
parent
313ea879d3
commit
de0b2735f6
@ -100,8 +100,9 @@ fn bool_list_literal() {
|
||||
List.repeat true 23
|
||||
"#
|
||||
),
|
||||
RocList::from_slice(&[true; 22]),
|
||||
RocList<bool>
|
||||
RocList::from_slice(&[1u8; 23]),
|
||||
RocList<bool>,
|
||||
|l: RocList<bool>| unsafe { std::mem::transmute::<RocList<bool>, RocList<u8>>(l) }
|
||||
);
|
||||
|
||||
/*assert_evals_to!(
|
||||
|
Loading…
Reference in New Issue
Block a user