(&self, ty: TypeFuncIndex, types: &InstanceType<'_>)
| 241 | } |
| 242 | |
| 243 | pub fn typecheck(&self, ty: TypeFuncIndex, types: &InstanceType<'_>) -> Result<()> { |
| 244 | (self.typecheck)(ty, types) |
| 245 | } |
| 246 | |
| 247 | pub fn lowering(&self) -> VMLowering { |
| 248 | let data = NonNull::from(&*self.func).cast(); |