Silver Improvement Request: Static member reference with explicit Self

Added in swift 5.1 SE-0068 was the ability to refer to static members with capital Self. I’m trying to keep as much parity between silver + mainline swift and this is a deviation I’m noticing in certain source files. Silver identifies static members without the need to prefix with Self or the type name fine, but can it also work with this (albeit fluff) syntax :innocent:?

Attached is an example cmdline project

StaticSelfExampleConsoleApplication.zip (326.3 KB)

hmm,

  • SE-0068 Expanding Swift Self to class members and value types(done)

is marked as long done, on Swift Evolution. I’ll have a look.

2 Likes

Logged as bugs://E26020.

bugs://E26020 was closed as fixed.