2577683ce8
#KT-1248 Fixed Control visibility of overrides needed #KT-37 Fixed Typechecker doesn't complain about accessing non-public property
13 lines
350 B
Plaintext
13 lines
350 B
Plaintext
//KT-1248 Control visibility of overrides needed
|
|
package kt1248
|
|
|
|
trait ParseResult<out T> {
|
|
public val success : Boolean
|
|
public val value : T
|
|
}
|
|
|
|
class Success<T>(<!CANNOT_WEAKEN_ACCESS_PRIVILEGE!>internal<!> override val value : T) : ParseResult<T> {
|
|
<!CANNOT_WEAKEN_ACCESS_PRIVILEGE!>internal<!> override val success : Boolean = true
|
|
}
|
|
|