07ff53d456
otherwise I have to rollback dozens of files after using sed that follows conventions
11 lines
199 B
Plaintext
11 lines
199 B
Plaintext
enum class List<out T>(val size : Int) {
|
|
Nil : List<Nothing>(0) {
|
|
val a = 1
|
|
}
|
|
Cons<out T>(val head : T, val tail : List<T>) : List<T>(tail.size + 1)
|
|
|
|
}
|
|
|
|
val foo = List.Nil
|
|
val foo1 = foo.a
|