Files
zig/src
Andrew Kelley 7e9b23e6dc Sema: respect requiresComptime of function return types
When doing a function call, if the return type requires comptime, the
function is analyzed as an inline/comptime call.

There is an important TODO here. I will reproduce the comment from this
commit:

> In the case of a comptime/inline function call of a generic function,
> the function return type needs to be the resolved return type based on
> the function parameter type expressions being evaluated with comptime arguments
> passed in. Otherwise, it ends up being .generic_poison and failing the
> comptime/inline function call analysis.
2021-08-05 23:26:11 -07:00
..
2021-08-01 16:13:58 -07:00
2021-08-05 23:20:10 -07:00
2021-07-26 20:41:00 -04:00
2021-08-01 16:13:58 -07:00
2021-08-01 16:13:58 -07:00
2021-08-01 03:57:34 -04:00
2021-08-05 23:20:53 -07:00
2021-07-23 22:42:31 -07:00
2021-07-08 14:10:49 -07:00
2021-07-23 22:42:31 -07:00
2021-06-21 17:03:03 -07:00
2020-09-21 18:38:55 -07:00
2018-10-27 11:35:01 -04:00
2020-12-16 12:18:14 +01:00
2021-07-26 20:41:00 -04:00
2021-07-26 20:41:00 -04:00