Skip to content

Instantly share code, notes, and snippets.

@fredreichbier
Created September 21, 2010 18:18
Show Gist options
  • Save fredreichbier/590196 to your computer and use it in GitHub Desktop.
Save fredreichbier/590196 to your computer and use it in GitHub Desktop.
A: cover {
}
AA: cover from A {
}
AAA: cover from AA extends AA {
hello: func {
"hello" println()
}
}
extend AA {
huhu: func {
"huhu" println()
}
}
main: func {
a: A
a as AA huhu()
a as AAA huhu() // <- fails
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment