Slackbot
12/30/2021, 5:40 AMilya.gorbunov
12/30/2021, 3:50 PMNothing? is used and where Null would be more expressive?ilya.gorbunov
12/30/2021, 3:52 PMNull can be a typealias to Nothing?, and Nothing? can be considered as a union of Nothing | Nullilya.gorbunov
12/30/2021, 3:55 PMNull identifier in a package imported by default would be rather disturbing. There can be objects named Null (https://github.com/pact-foundation/pact-jvm/blob/7cd4ff4d3be7f8e4a3534ae67c3ef18d0b998dc8/core/support/src/main/kotlin/au/com/dius/pact/core/support/json/JsonValue.kt#L41) and they can lead to a conflict or confusion when being in scope with the Null typealias.