Skip to content

dfa: fix notNullOut inference - #23984

Merged
thewilsonator merged 2 commits into
dlang:masterfrom
gorsing:fix_func_d
Oct 7, 2026
Merged

thewilsonator merged 2 commits into
dlang:masterfrom
gorsing:fix_func_d

Conversation

@gorsing

@gorsing gorsing commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Description:

ParameterDFAInfo.notNullOut() currently compares inferred.notNullOut with itself:

inferred.notNullOut > inferred.notNullOut

Change the comparison to use userSupplied.notNullOut:

inferred.notNullOut > userSupplied.notNullOut

Signed-off-by: Sergii Kuzko <gorsing444@gmail.com>
Signed-off-by: Sergii Kuzko <gorsing444@gmail.com>
@thewilsonator
thewilsonator merged commit 7acb1e2 into dlang:master Oct 7, 2026
42 checks passed
@gorsing
gorsing deleted the fix_func_d branch October 7, 2026 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants