wasm shell + destructuring
This commit is contained in:
@@ -872,6 +872,10 @@ pub const Interpreter = struct {
|
||||
const val = try self.getGlobal(gid);
|
||||
return .{ .value = val };
|
||||
},
|
||||
.global_addr => {
|
||||
// Address-of-global not meaningful in interpreter
|
||||
return error.CannotEvalComptime;
|
||||
},
|
||||
.func_ref => |fid| {
|
||||
return .{ .value = .{ .func_ref = fid } };
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user