mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
Add Nothing type test
This commit is contained in:
@@ -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 |
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user