[proposal] Allow "let" for computed properties which only reference immutable data


(Andru Felipe Zuniga) #1

It would be useful for clarification of a computed property being constant in extensions. For example:

extension SKSpriteNode {
  static let type: String {
    return “Sprite”
  }
}

Andru