Skip to content

Variable resolver hardening

Compare
Choose a tag to compare
@mobrien-ghost mobrien-ghost released this 03 Apr 15:50
· 12 commits to develop since this release
9dc4a36
  • Updated logic for checking if parent context is a protocol in hasSetter
  • Included code block check when assessing hasSetter value
  • Ensured that if the throws/async effect specifier is present then hasSetter returns false

Previously the following would return true for hasSetter

var name: String {
    "test"
}