mirror of
https://github.com/ziglang/zig.git
synced 2025-12-07 23:03:08 +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.