fn grouped_cond_single_line() {
	// fmt tries to keep grouped conditions together...
	_ := one_condition_before && another_condition
		&& (inside_paren || is_kept_together || if_possible) && end_cond
}

fn unwrap_grouped_conds() {
	// ...but sometimes they have to be split
	_ := one_condition && before_condition && (conds_inside_paren
		|| are_kept_together || if_possible || but_this_is_really_too_much
		|| for_one_line)
	_ := (also_inside_parens || just_as_above || but_this_is_also_more
		|| than_a_single_line_could_fit) && end_cond
	fields = fields.filter((it.typ in [string_type, int_type, bool_type]
		|| c.table.types[int(it.typ)].kind == .struct_) && !it.attrs.contains('skip'))
}

fn main() {
	clean_struct_v_type_name =
		clean_struct_v_type_name.replace('_Array', '_array').replace('_T_', '<').replace('_', ', ') +
		'>'
	{
		{
			{
				{
					// Indent this much to force a break after the assign (`:=`).
					// Check that the trailing space is removed
					should_cast :=
						g.table.type_kind(stmt.left_types.first()) in js.shallow_equatables
						&& (g.cast_stack.len <= 0 || stmt.left_types.first() != g.cast_stack.last())
				}
			}
		}
	}
}

if c.table.final_sym(typ).kind in [.array, .array_fixed, .struct_, .interface_, .none_, .map, .sum_type]
	&& fmt in [`E`, `F`, `G`, `e`, `f`, `g`, `d`, `u`, `x`, `X`, `o`, `c`, `p`, `b`] {
	c.error('illegal format specifier `${fmt:c}` for type `${c.table.get_type_name(ftyp)}`',
		node.fmt_poss[i])
}
