undo debug changes

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
Anton-4 2022-09-02 16:39:17 +02:00 committed by GitHub
parent 37853e4477
commit ed6b437e28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,5 @@
#[cfg(feature = "gen-llvm")]
use crate::helpers::llvm::assert_evals_to;
use crate::helpers::llvm::do_yoo;
#[cfg(feature = "gen-dev")]
use crate::helpers::dev::assert_evals_to;
@ -59,7 +58,7 @@ fn bool_list_literal() {
// use both True and False; only using one of them causes the list to in practice be
// of type `List [True]` or `List [False]`, those are tag unions with one constructor
// and not fields, and don't have a runtime representation.
/*assert_evals_to!(
assert_evals_to!(
indoc!(
r#"
false : Bool
@ -89,9 +88,9 @@ fn bool_list_literal() {
),
RocList::from_slice(&[false; 1]),
RocList<bool>
);*/
dbg!("testyoo");
do_yoo!(
);
assert_evals_too!(
indoc!(
r#"
true : Bool
@ -101,11 +100,10 @@ fn bool_list_literal() {
"#
),
RocList::from_slice(&[1u8; 23]),
RocList<bool>,
|l: RocList<bool>| unsafe { std::mem::transmute::<RocList<bool>, RocList<u8>>(l) }
RocList<bool>
);
/*assert_evals_to!(
assert_evals_to!(
indoc!(
r#"
true : Bool
@ -129,7 +127,7 @@ fn bool_list_literal() {
),
RocList::from_slice(&[[true, true, true, true, true, true, true, true]; 23]),
RocList<[bool; 8]>
);*/
);
}
#[test]