generic signatures for properties #KT2677 fixed
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
class U<T>
|
||||
|
||||
open class WeatherReport
|
||||
{
|
||||
public open var forecast: U<String> = U<String>()
|
||||
}
|
||||
|
||||
open class DerivedWeatherReport() : WeatherReport()
|
||||
{
|
||||
public override var forecast: U<String>
|
||||
get() = super.forecast
|
||||
set(newv: U<String>) { super.forecast = newv }
|
||||
}
|
||||
Reference in New Issue
Block a user