get most cli tests to pass

This commit is contained in:
Folkert 2021-06-09 19:05:37 +02:00
parent 4151dac452
commit 3c8d675378
4 changed files with 57 additions and 32 deletions

View file

@ -19,7 +19,7 @@ use roc_types::subs::{Content, FlatType, Subs, Variable};
use std::collections::HashMap;
use ven_pretty::{BoxAllocator, DocAllocator, DocBuilder};
pub const PRETTY_PRINT_IR_SYMBOLS: bool = true;
pub const PRETTY_PRINT_IR_SYMBOLS: bool = false;
macro_rules! return_on_layout_error {
($env:expr, $layout_result:expr) => {
@ -2575,8 +2575,8 @@ fn cleanup_attempted_type<'a>(
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub struct TopLevelFunctionLayout<'a> {
arguments: &'a [Layout<'a>],
result: Layout<'a>,
pub arguments: &'a [Layout<'a>],
pub result: Layout<'a>,
}
impl<'a> TopLevelFunctionLayout<'a> {