mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
Compare commits
No commits in common. "21d8223f318d67c23f311b16074d70372218ae96" and "aa266f059ddb0751793aa56b4ed2fae2ad591fa5" have entirely different histories.
21d8223f31
...
aa266f059d
|
@ -448,9 +448,9 @@ fn gen_type_hint(type_hint: &str) -> String {
|
||||||
"string" => "string".to_string(),
|
"string" => "string".to_string(),
|
||||||
"void" => "void".to_string(),
|
"void" => "void".to_string(),
|
||||||
// TODO: Un-hardcode types
|
// TODO: Un-hardcode types
|
||||||
"vec_int" => "number[]".to_string(),
|
"vec_int" => "number[]".to_string(),
|
||||||
"vec_bool" => "boolean[]".to_string(),
|
"vec_bool" => "boolean[]".to_string(),
|
||||||
"vec_string" => "string[]".to_string(),
|
"vec_str" => "string[]".to_string(),
|
||||||
_ => { dbg!(type_hint); todo!() }
|
_ => { dbg!(type_hint); todo!() }
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue