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