Skip to content

Commit

Permalink
Merge pull request #17 from yjl9903/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
lynzrand authored Oct 22, 2024
2 parents 9e9f330 + 5cd2f12 commit 7d87c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.mbt
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ pub fn Fundef::from_json(json : Json) -> Fundef!Error {
fn from_json(json : ArrayView[Json]) -> Array[(String, Type)]!Error {
let array = []
for i = 0; i < json.length(); i = i + 1 {
match json {
match json[i] {
[name, ty] => {
let name = match name.as_string() {
Some(name) => name
Expand Down

0 comments on commit 7d87c5b

Please sign in to comment.