Open skrynski opened 4 months ago
f <- function(x) x rir.compile(f) pir.compile(f)
Missing_arg should trigger an error iif it is the result of symbol evaluation.
Image shows Early PIR output .
Below is PIR After optimizations, notice ChkMissing is introduced.
In both cases, Force has type val?. I think it should be just val.
val?
val
f <- function(x) x rir.compile(f) pir.compile(f)
Missing_arg should trigger an error iif it is the result of symbol evaluation.
Image shows Early PIR output .![image](https://github.com/reactorlabs/rir/assets/49732803/07318903-a69b-4981-975a-11ff3ed27b9a)
Below is PIR After optimizations, notice ChkMissing is introduced.![image](https://github.com/reactorlabs/rir/assets/49732803/aa1b3437-3af6-4b36-8701-c1d27420ea09)
In both cases, Force has type
val?
. I think it should be justval
.