blob: fccedb1b32d5df477c133b7ad0d662829aac769c (
plain)
1
2
3
4
5
6
7
|
// "Add 'Any' as upper bound for T to make it non-nullable" "true"
// ERROR: 'foo' overrides nothing
// LANGUAGE_VERSION: 1.8
class FooChild<T> : Foo<T>() {
override<caret> fun foo(x: T) {}
}
|