Skip to content

Inconsistencies with NSNull and === #5248

@bbrk24

Description

@bbrk24
  1> import Foundation
  2> let x: NSNull? = nil
x: Foundation.NSNull? = nil
  3> x === x
$R0: Bool = false
  4> x !== x
$R1: Bool = false
  5> NSNull() === NSNull()
$R2: Bool = true
  6> NSNull() !== NSNull()
$R3: Bool = true

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions