# Silver Improvement Request: Static member reference with explicit Self

**URL:** https://talk.remobjects.com/t/silver-improvement-request-static-member-reference-with-explicit-self/26965
**Category:** Fire
**Tags:** silver
**Created:** [July 20, 2022, 5:33pm UTC](https://talk.remobjects.com/t/silver-improvement-request-static-member-reference-with-explicit-self/26965 "2022-07-20T17:33:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![hggz](https://talk.remobjects.com/user_avatar/talk.remobjects.com/hggz/32/15674_2.png) [@hggz](https://talk.remobjects.com/u/hggz)
#### Post date: [July 20, 2022, 5:33pm UTC](https://talk.remobjects.com/t/silver-improvement-request-static-member-reference-with-explicit-self/26965/1 "2022-07-20T17:33:52Z")

</div>

Added in swift 5.1 [SE-0068](https://github.com/apple/swift-evolution/blob/master/proposals/0068-universal-self.md) 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 😇?

Attached is an example cmdline project

[StaticSelfExampleConsoleApplication.zip](https://talk.remobjects.com/uploads/short-url/iK9b6CVJm4JGFVbjNu0dknHwUMx.zip) (326.3 KB)

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [July 20, 2022, 7:41pm UTC](https://talk.remobjects.com/t/silver-improvement-request-static-member-reference-with-explicit-self/26965/2 "2022-07-20T19:41:40Z")

</div>

hmm,

- ~~[SE-0068](https://github.com/apple/swift-evolution/blob/main/proposals/0068-universal-self.md) Expanding Swift `Self` to class members and value types~~ — **(done)**

is marked as long done, on [Swift Evolution](https://docs.elementscompiler.com/Silver/SwiftEvolution/). I’ll have a look.

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [July 20, 2022, 7:43pm UTC](https://talk.remobjects.com/t/silver-improvement-request-static-member-reference-with-explicit-self/26965/3 "2022-07-20T19:43:26Z")

</div>

Logged as [bugs://E26020](https://www.remobjects.com/portal/bugs/?id=E26020).

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [July 21, 2022, 7:37pm UTC](https://talk.remobjects.com/t/silver-improvement-request-static-member-reference-with-explicit-self/26965/4 "2022-07-21T19:37:16Z")

</div>

[bugs://E26020](https://www.remobjects.com/portal/bugs/?id=E26020) was closed as fixed.
