ensure ?. matches a chain of expressions, fix module wrapper, ensure array lifting is null-safe