For now, don't error out with typechecking
This commit is contained in:
parent
8ad5dd9056
commit
8826d5b0d4
@ -84,7 +84,10 @@ fn typechecking(handle: &mut Schala, input: parsing::AST, comp: Option<&mut Unfi
|
|||||||
comp.map(|comp| comp.add_artifact(TraceArtifact::new("type_check", format!("{:?}", ty))));
|
comp.map(|comp| comp.add_artifact(TraceArtifact::new("type_check", format!("{:?}", ty))));
|
||||||
Ok(input)
|
Ok(input)
|
||||||
},
|
},
|
||||||
Err(msg) => Err(msg)
|
Err(msg) => {
|
||||||
|
comp.map(|comp| comp.add_artifact(TraceArtifact::new("type_check", format!("{:?}", msg))));
|
||||||
|
Ok(input)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user