Implement lowering of some builtin operators. (#154)

* EQEQ
* THROW_NPE

Add test for (un)boxing `==` operands.
This commit is contained in:
SvyatoslavScherbina
2016-12-22 13:02:20 +07:00
committed by GitHub
parent 0632a30eca
commit b6561b13a4
11 changed files with 189 additions and 120 deletions
@@ -0,0 +1,10 @@
fun is42(x: Any?) {
println(x == 42)
println(42 == x)
}
fun main(args: Array<String>) {
is42(16)
is42(42)
is42("42")
}