struct S { int i; } assert(S(5).nullable.apply!"a.i" == 5); This should work, but does not.
@FeepingCreature created dlang/phobos pull request #7606 "Fix issue 21199: call `unaryFun!fun` in `Nullable.apply` to support string parameter." fixing this issue: - Fix issue 21199: call `unaryFun!fun` in `Nullable.apply` to support shortcut string expressions as parameter. https://github.com/dlang/phobos/pull/7606
dlang/phobos pull request #7606 "Fix issue 21199: call `unaryFun!fun` in `Nullable.apply` to support string parameter." was merged into master: - 44522538471065be50005eaf848ed757375073cd by Mathis Beer: Fix issue 21199: call `unaryFun!fun` in `Nullable.apply` to support shortcut string expressions as parameter. https://github.com/dlang/phobos/pull/7606