Skip to content

Commit

Permalink
feat(type-system): add pointer type
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective committed Oct 15, 2023
1 parent 104add3 commit fc2a42f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package/origlang-typesystem-model/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ pub enum Type {
Tuple(DisplayTupleType),
#[display(fmt = "{_0}")]
Record(DisplayRecordType),
#[display(fmt = "*const {_0}")]
Ref(Box<Self>),
#[display(fmt = "*mut {_0}")]
RefMut(Box<Self>)
}

impl Type {
Expand Down

0 comments on commit fc2a42f

Please sign in to comment.