Skip to content

Instantly share code, notes, and snippets.

@rustle
Created October 6, 2019 21:35
Show Gist options
  • Save rustle/c2230e09e354dd20f22ab77954acabc1 to your computer and use it in GitHub Desktop.
Save rustle/c2230e09e354dd20f22ab77954acabc1 to your computer and use it in GitHub Desktop.
class Foo {
var body: some View {
...
}
}
class Bar: Foo {
override var body: some View {
...
}
}
// Property 'body' with type 'some View' (type of 'Foo.body') cannot override a property with type 'some View' (type of 'Bar.body')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment