properly serialize/parse Nothing type

This commit is contained in:
Stepan Koltsov
2012-01-25 22:23:46 +04:00
parent bbbddf1c83
commit 4545c72f69
6 changed files with 42 additions and 2 deletions
@@ -0,0 +1,6 @@
fun nothing(): Nothing = throw Exception()
// method: namespace::nothing
// jvm signature: ()V
// generic signature: null
// kotlin signature: ()Ljet/Nothing;
@@ -0,0 +1,6 @@
fun nothingq(): Nothing? = null
// method: namespace::nothingq
// jvm signature: ()Ljava/lang/Object;
// generic signature: null
// kotlin signature: ()?Ljet/Nothing;