https://issues.dlang.org/show_bug.cgi?id=20602

Basile-z <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Basile-z <[email protected]> ---
The assertion looks irrelevant as the function it's located in is for the
parameters. 

It seems that remiving the assertion and returning early if tf.next is null and
that fd.inferReturnType is false works. Those two conditions mean that like in
your test case the return type is not valid and an error is already emitted for
that.

--

Reply via email to