Priority
Critical
Type
Bug 
State
Fixed 
Assignee
Olga Lobacheva 
Subsystem
No subsystem 
Affected versions
Fixed in
Fixed in build
Next build 
Build
351
  • Submitted by   Ludovic Dubois
    2 years ago (27 Feb 2007 17:01)
  • Updated by Ludovic Dubois
    2 years ago (25 Oct 2007 19:35)
  • Jira: RSRP-36350
    (history, comments)

RSRP-36350

Bad nullable management

All computation with a 'null' literal value is correct.

Thus, :
int? i = null + 10;


is correct. Its value is 'null' of type 'int?'.
It is the same for -, *, /...

Special case for comparison operators. Returned type is 'bool' (but still valid!)

Issue was closed
Comments (0)
 
History (0)
 
Links
 
Issue has no comments