Why is `node` expanded to `Any`?