Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
|
|
@ -6,8 +6,8 @@
|
|||
var a # defaults to null
|
||||
int b # defaults to 0
|
||||
void c # only one allowed value: null
|
||||
writeLine("nullable var equals to not nullable int: " + (a == b)) # allowed, false
|
||||
writeLine("nullable var equals to not nullable int: " + (a æ b)) # allowed, false
|
||||
^| if the data type of a is void we are sure that a is null |^
|
||||
writeLine("type of a equals to Void data type: " + (generic!a == void)) # true
|
||||
writeLine("integer value " + b + " equals to null: " + (b == null)) # allowed, always false
|
||||
writeLine("a void value equals to null: " + (c == null)) # always true
|
||||
writeLine("type of a equals to Void data type: " + (generic!a æ void)) # true
|
||||
writeLine("integer value " + b + " equals to null: " + (b æ null)) # allowed, always false
|
||||
writeLine("a void value equals to null: " + (c æ null)) # always true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue