mirror of
https://github.com/tauri-apps/verso.git
synced 2026-01-31 00:55:21 +01:00
* Add flatpak manifest Known issues: - MOZJS_ARCHIVE need to link manually - Mozangle build failed due to stddef.h missing - script build failed due to missing WebIDL python module * Fix mozangle and script build errors * Update README.md * Update gitignore * Add libmozjs archive * Import more granular servo crates * Fix running error in flatpak * Enable surfman features on Windows * Enable mozangle features instead * build(flatpak): add verso desktop file --------- Co-authored-by: Wu Yuwei <Wu Yu Wei> Co-authored-by: Jason Tsai <jason@pews.dev>
21 lines
1.0 KiB
Diff
21 lines
1.0 KiB
Diff
--- WebIDL.py
|
|
+++ WebIDL.py
|
|
@@ -2283,7 +2283,7 @@ class IDLUnresolvedType(IDLType):
|
|
return typedefType.complete(scope).withExtendedAttributes(self.extraTypeAttributes)
|
|
elif obj.isCallback() and not obj.isInterface():
|
|
assert self.name.name == obj.identifier.name
|
|
- return IDLCallbackType(self.location, obj)
|
|
+ return IDLCallbackType(obj.location, obj)
|
|
|
|
name = self.name.resolve(scope, None)
|
|
return IDLWrapperType(self.location, obj)
|
|
@@ -6854,7 +6854,7 @@ class Parser(Tokenizer):
|
|
type = IDLTypedefType(self.getLocation(p, 1), obj.innerType,
|
|
obj.identifier.name)
|
|
elif obj.isCallback() and not obj.isInterface():
|
|
- type = IDLCallbackType(self.getLocation(p, 1), obj)
|
|
+ type = IDLCallbackType(obj.location, obj)
|
|
else:
|
|
type = IDLWrapperType(self.getLocation(p, 1), p[1])
|
|
p[0] = self.handleNullable(type, p[2])
|