nanvm_harness/gen.expected/not_a_function.rs
1// Expectation of `nanvm/harness/fixtures/not-a-function.mjs`, generated by `fjs/nanvm/expected`. Do not edit: change the fixture and regenerate.
2
3use nanvm_lib::vm::{Any, IVm, Nullish, ToAny};
4
5#[rustfmt::skip]
6pub fn module<A: IVm>(_runtime: Any<A>) -> Result<Any<A>, Any<A>> {
7 Err(Nullish::Undefined.to_any())
8}
9
10#[rustfmt::skip]
11pub const JSON: Option<&[u8]> = None;
12pub const THROWS: bool = true;