You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: real fixes for 5 macOS doc-test failures + soup link (v0.5.868)
Closes the v0.5.853 exclude list by fixing the underlying bugs:
1. state-desugar: `.value` / `.set` / `.get` come through HIR as
NativeMethodCall (object: Some, class_name varies) instead of the
PropertyGet shape the rewrite matched. The unrewritten reads stayed
on the let-undefined binding, surfacing as TypeError: undefined.length
on textarea.ts and TypeError: undefined.slice on state/snippets.ts.
Added a NativeMethodCall arm to try_rewrite_state_access that
accepts class_name None | Some("State").
2. WebView/Image option-bag handlers sit *after* the perry/ui
catch-all bail at line 1159 — neither method is in
perry_ui_table_lookup so the bail fired first ("'WebView' is not a
known function (args: 1)"). Added both names to the bail's
exclusion list so control reaches the explicit handlers.
3. module_has_symbol only matched entry.name == name; class_filter
was invisible to the #463 unimplemented gate. `ethers.Wallet`
failed even though createRandom is registered with
class_filter=Wallet. Extended the lookup to also accept methods
whose class_filter equals the requested name.
4. Re-removed the 5 macOS filter-exclude entries from test.yml's
doc-tests cmd_exclude_gallery line (added v0.5.853 as workarounds).
5. link.rs: -lwebkitgtk-6.0 / -ljavascriptcoregtk-6.0 / -lsoup-3.0
when linking perry-ui-gtk4 (was failing with `soup_check_version
undefined reference`, the v0.5.864/865 fixes only handled the
webview.rs API change but missed the link line).
All 5 doc-tests pass locally. No more excludes.
0 commit comments