[SR-10326] 'Self' is only available in a protocol or as the result of a method in a class; did you mean 'A'? #52726
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
properties
Feature: properties
Self in class
Feature → types: The 'Self' type in classes
type checker
Area → compiler: Semantic analysis
types
Feature: types
unexpected error
Bug: Unexpected error
Environment
DEVELOPMENT-SNAPSHOT-2019-04-04-a
Additional Detail from JIRA
md5: 00af2a103a18af7ebe8084ad446ae844
Issue Description:
This is a strange limitation:
The text was updated successfully, but these errors were encountered: