We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
md5: 95bdd554da53d58e97b34e74bf85bf99
cloned to:
duplicates:
Issue Description:
Sample Code:
class MyClass { init(value: String = "ohno") { print(value) } } class MyOtherClass { lazy var test = MyClass() } let _ = MyOtherClass()
The error we get:
Playground execution failed: error: MyPlayground.playground:5:21: error: type of expression is ambiguous without more context lazy var test = MyClass() ^~~~~~~~~
The code works fine if we remove the lazy.
lazy
The text was updated successfully, but these errors were encountered:
Consolidating.
Sorry, something went wrong.
No branches or pull requests
Additional Detail from JIRA
md5: 95bdd554da53d58e97b34e74bf85bf99
cloned to:
duplicates:
Issue Description:
Sample Code:
The error we get:
The code works fine if we remove the
lazy
.The text was updated successfully, but these errors were encountered: