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:
@@ -1 +1 @@
|
||||
parse error
|
||||
parse error
|
||||
@@ -0,0 +1,7 @@
|
||||
(program
|
||||
1.0.0
|
||||
[
|
||||
[ (force (builtin ifThenElse)) (con string "11 <= 22") ]
|
||||
(con string "\172(11 <= 22)")
|
||||
]
|
||||
)
|
||||
@@ -0,0 +1,4 @@
|
||||
(program 1.0.0 [
|
||||
[ (force (builtin ifThenElse)) (con string "11 <= 22") ]
|
||||
(con string "\172(11 <= 22)")
|
||||
])
|
||||
Reference in New Issue
Block a user