[Issue 10488] Allow template this parameter to work with static functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 16 13:24:34 UTC 2022


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

--- Comment #8 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ntrel created dlang/dmd pull request #14446 "Infer template this parameter
when calling static method on instance" mentioning this issue:

- Infer template this parameter when calling static method on instance

  Part of Issue 10488 - Allow template this parameter with static functions.

  Note: `tthis` is only used in `doHeaderInstantiation` for template this
  so assigning null when there's a static storage class is not needed for
  anything else.

https://github.com/dlang/dmd/pull/14446

--


More information about the Digitalmars-d-bugs mailing list