mirror of
https://github.com/ziglang/zig.git
synced 2026-01-06 13:33:21 +00:00
Makes `std.meta.trait.hasFn` work as expected for opaque types with function declarations. Alternative is to add clause directly to `std.meta.trait.hasFn` to account for opaque types.