More correct handling of compile time constant types #KT-13421 Fixed
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fun bar() {
|
||||
false and false
|
||||
}
|
||||
|
||||
// See exception in KT-13421
|
||||
fun foo() {
|
||||
42 and <!CONSTANT_EXPECTED_TYPE_MISMATCH!>false<!>
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package
|
||||
|
||||
public fun bar(): kotlin.Unit
|
||||
public fun foo(): kotlin.Unit
|
||||
Reference in New Issue
Block a user