frontend bugs fixed:
fun f(): Int = "s" //was ok
fun g(): Int { if (1 < 2) {} else {} }//was ok
fun h(): Int { val a = 1 } //was ok
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
namespace jet121 {
|
||||
fun box() : String {
|
||||
val answer = apply("OK") { String.() : Int =>
|
||||
length
|
||||
get(0)
|
||||
length
|
||||
}
|
||||
|
||||
return if (answer == 2) "OK" else "FAIL"
|
||||
|
||||
@@ -17,6 +17,6 @@ enum class Foo<T> {
|
||||
|
||||
|
||||
|
||||
fun box(): String {
|
||||
fun box() {
|
||||
val x: ProtocolState = ProtocolState.WAITING
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user