Skip to content

[SR-6980] Swift 4.1 new warning "Cannot override with a stored property" #49528

@swift-ci

Description

@swift-ci
Previous ID SR-6980
Radar rdar://problem/37429467
Original Reporter jeffjohnson (JIRA User)
Type Bug
Status Resolved
Resolution Won't Do

Attachment: Download

Environment

The warning occurs with Xcode 9.3 beta 1 and 2. It did not occur with Xcode 9.2 and earlier.

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee None
Priority Medium

md5: d709d11470f2fb2d511d81ea9c0829d8

relates to:

  • SR-6165 Overriding computed property with stored one is not allowed unless it is lazy

Issue Description:

I'm getting a new build warning "Cannot override with a stored property" with Swift 4.1. The warning did not occur with Swift 4.0. See attached screenshots. This is from the open source project Bonjeff.

![](Underpass download 1.png)

![](Underpass download 2.png)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions