def METHOD_NAME():
    ht = hl.utils.range_matrix_table(1, 1)
    ht = ht.annotate_rows(b = hl.nd.array([[0]]))
    try:
        ht = ht.annotate_rows(c = ht.b[ht.col_idx, None])
    except hl.ExpressionException as exc:
        assert 'scope violation' in exc.args[0]
        assert "'col_idx' (indices ['column'])" in exc.args[0]
    else:
        assert False