feat: delay typemismatch errors in the machine runtime
to pass 2 of the conformance tests, we need to make sure that we aren't typechecking builtin arguments as arguments are applied. This switches push to by removing the call to check_type and then reworking all the associated unwrap methods on Value so that they return the same errors that were being returned before.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- ill-typed but does not fail at runtime because the builtin application is not saturated.
|
||||
(program 1.0.0 [(builtin addInteger) (con unit ())])
|
||||
@@ -0,0 +1 @@
|
||||
(program 1.0.0 [ (builtin addInteger) (con unit ()) ])
|
||||
Reference in New Issue
Block a user