I have a piece of code that parses and arbitrary document.
if (page.title != null && page.text != null && page.timestamp != null && size != null) {
parseTitle(page.title)
parseText(page.text)
}
Despite the implicit null checks, compiler still says that page.title and page.text are both nullable.
Can someone explain why that happens?