mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
shrink higher order with indirection
This commit is contained in:
parent
783e425b0c
commit
e2f7606f25
9 changed files with 90 additions and 72 deletions
|
@ -12,6 +12,14 @@ use std::collections::hash_map::Entry;
|
|||
use std::collections::HashMap;
|
||||
use ven_pretty::{DocAllocator, DocBuilder};
|
||||
|
||||
// if your changes cause this number to go down, great!
|
||||
// please change it to the lower number.
|
||||
// if it went up, maybe check that the change is really required
|
||||
static_assertions::assert_eq_size!([u8; 3 * 8], Builtin);
|
||||
static_assertions::assert_eq_size!([u8; 5 * 8], Layout);
|
||||
static_assertions::assert_eq_size!([u8; 4 * 8], UnionLayout);
|
||||
static_assertions::assert_eq_size!([u8; 3 * 8], LambdaSet);
|
||||
|
||||
pub const MAX_ENUM_SIZE: usize = (std::mem::size_of::<u8>() * 8) as usize;
|
||||
const GENERATE_NULLABLE: bool = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue