Created
November 9, 2017 11:08
-
-
Save wleii/783fb3cc2f74d271160feab498a0c66f to your computer and use it in GitHub Desktop.
ERRORs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Model { | |
lazy var value: String = { | |
return text | |
}() | |
var myValue: String { | |
return value //error: Cannot use mutating getter on immutable value: 'self' is immutable | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment