Files
zig/test
Andrew Kelley e2dc63644a type_has_one_possible_value takes comptime struct fields into account
Before, type_has_one_possible_value would return false for the value
`.{1}`. But actually, that type is a tuple with a single comptime field.
Such a type, in fact, has one possible value.

This plus the corresponding adjustment to get_the_one_possible_value
solves #3878.
2020-04-05 17:09:01 -04:00
..
2019-12-03 12:50:42 -05:00
2019-12-09 15:27:27 -05:00
2020-04-04 17:37:51 -04:00