mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-19 06:40:20 +03:00
fix dependencies
This commit is contained in:
parent
32ce399cc0
commit
116960fbf4
3
Cargo.lock
generated
3
Cargo.lock
generated
@ -1,5 +1,7 @@
|
||||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "ab_glyph"
|
||||
version = "0.2.11"
|
||||
@ -3356,6 +3358,7 @@ dependencies = [
|
||||
"roc_types",
|
||||
"roc_unify",
|
||||
"ven_ena",
|
||||
"ven_graph",
|
||||
"ven_pretty",
|
||||
]
|
||||
|
||||
|
@ -19,6 +19,7 @@ morphic_lib = { path = "../../vendor/morphic_lib" }
|
||||
bumpalo = { version = "3.6.1", features = ["collections"] }
|
||||
hashbrown = { version = "0.11.2", features = [ "bumpalo" ] }
|
||||
ven_ena = { path = "../../vendor/ena" }
|
||||
ven_graph = { path = "../../vendor/pathfinding" }
|
||||
linked-hash-map = "0.5.4"
|
||||
|
||||
[dev-dependencies]
|
||||
|
@ -848,13 +848,21 @@ impl<'a, 'i> Env<'a, 'i> {
|
||||
#[derive(Clone, Debug, PartialEq, Copy, Eq, Hash)]
|
||||
pub struct JoinPointId(pub Symbol);
|
||||
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub struct Param<'a> {
|
||||
pub symbol: Symbol,
|
||||
pub borrow: bool,
|
||||
pub layout: Layout<'a>,
|
||||
}
|
||||
|
||||
impl<'a> Param<'a> {
|
||||
pub const EMPTY: Self = Param {
|
||||
symbol: Symbol::EMPTY_PARAM,
|
||||
borrow: false,
|
||||
layout: Layout::Struct(&[]),
|
||||
};
|
||||
}
|
||||
|
||||
pub fn cond<'a>(
|
||||
env: &mut Env<'a, '_>,
|
||||
cond_symbol: Symbol,
|
||||
|
Loading…
Reference in New Issue
Block a user