mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
make sure to always switch on the tag id, not the tag itself
This commit is contained in:
parent
e8e83513e9
commit
498d3ba3b5
2 changed files with 31 additions and 6 deletions
|
@ -16,6 +16,10 @@ const GENERATE_NULLABLE: bool = true;
|
|||
const DEFAULT_NUM_BUILTIN: Builtin<'_> = Builtin::Int64;
|
||||
pub const TAG_SIZE: Builtin<'_> = Builtin::Int64;
|
||||
|
||||
impl Layout<'_> {
|
||||
pub const TAG_SIZE: Layout<'static> = Layout::Builtin(Builtin::Int64);
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
#[repr(u8)]
|
||||
pub enum InPlace {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue