mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-30 15:41:48 +00:00
work on fixing github workflows
This commit is contained in:
@@ -227,6 +227,7 @@ pub fn Env(comptime S: type, comptime types: anytype) type {
|
||||
// Hey, look! This is our first real usage of the TYPE_LOOKUP.
|
||||
// Just like we said above, given a type, we can get its
|
||||
// template index.
|
||||
|
||||
const proto_index = @field(TYPE_LOOKUP, proto_name);
|
||||
templates[i].inherit(templates[proto_index]);
|
||||
}
|
||||
@@ -366,7 +367,6 @@ pub fn Env(comptime S: type, comptime types: anytype) type {
|
||||
// FunctionTemplate of the isolate (in startExecutor)
|
||||
fn attachClass(self: *Self, comptime Struct: type, template: v8.FunctionTemplate) void {
|
||||
const template_proto = template.getPrototypeTemplate();
|
||||
|
||||
inline for (@typeInfo(Struct).@"struct".decls) |declaration| {
|
||||
const name = declaration.name;
|
||||
if (comptime name[0] == '_') {
|
||||
|
||||
Reference in New Issue
Block a user