Add Nothing type test

This commit is contained in:
Tamas Vajk
2021-09-21 10:21:37 +02:00
committed by Ian Lynagh
parent 28afa19bf5
commit f04eb6b1fa
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
| file://:0:0:0:0 | <nulltype> | NullType |
| file://:0:0:0:0 | Any | Class |
| file://:0:0:0:0 | boolean | PrimitiveType |
| file://:0:0:0:0 | byte | PrimitiveType |
@@ -8,4 +9,4 @@
| file://:0:0:0:0 | long | PrimitiveType |
| file://:0:0:0:0 | short | PrimitiveType |
| file://:0:0:0:0 | string | ??? |
| types.kt:2:1:33:1 | Foo | Class |
| types.kt:2:1:37:1 | Foo | Class |

View File

@@ -21,6 +21,10 @@ TODO
val propChar: Char = 'c'
val propString: String = "str"
val propNullableString: String? = "str"
val propNullableNothing: Nothing? = null
/*
TODO
val propArray: Array<Int> = arrayOf(1, 2, 3)