refactor: type
This commit is contained in:
@@ -2,7 +2,8 @@ use ecow::EcoString;
|
||||
use rpds::{ht_map_sync, vector_sync};
|
||||
|
||||
use crate::compile::compile;
|
||||
use crate::value::*;
|
||||
use crate::ty::public::*;
|
||||
use crate::ty::common::Symbol;
|
||||
|
||||
use super::vm::run;
|
||||
|
||||
@@ -166,3 +167,8 @@ fn test_let() {
|
||||
attrs! { symbol!("a") => attrs!{ symbol!("ac") => int!(2) } },
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_func() {
|
||||
test_expr("(x: x) 1", int!(1));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user