summaryrefslogtreecommitdiffstats
path: root/crates/rebel-lang/examples/repl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/rebel-lang/examples/repl.rs')
-rw-r--r--crates/rebel-lang/examples/repl.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/rebel-lang/examples/repl.rs b/crates/rebel-lang/examples/repl.rs
index f2c714b..aa3cbf8 100644
--- a/crates/rebel-lang/examples/repl.rs
+++ b/crates/rebel-lang/examples/repl.rs
@@ -1,7 +1,7 @@
use rebel_lang::{
func::{Func, FuncDef, FuncType},
scope::Context,
- typing::{ArrayLen, Type, TypeFamily},
+ typing::{Type, TypeFamily},
value::{EvalError, Result, Value},
};
use rebel_parse::{recipe, tokenize};
@@ -43,7 +43,7 @@ fn main() {
"len",
Func {
typ: FuncType {
- params: vec![Type::Array(Box::new(Type::Free), ArrayLen::Dynamic)],
+ params: vec![Type::Array(Box::new(Type::Free))],
ret: Type::Int,
},
def: Some(FuncDef::Intrinsic(intrinsic_array_len)),