command-substitution.test   [plain text]


(
	foo &&
# LINT: closing ")" of $(...) not misinterpreted as subshell-closing ")"
	bar=$(gobble) &&
	baz
) &&
(
# LINT: missing "&&" on $(...)
	bar=$(gobble blocks)
	baz
)