Sha256: 73b4d643a254f8ad23712273e6182286bbd83d10c4d6fd93e3119f90ea91d2c5

Contents?: true

Size: 563 Bytes

Versions: 43

Compression:

Stored size: 563 Bytes

Contents

/*jsl:option explicit*/
function ambiguous_else_stmt() {
    var i, j, y;

    if (i)
        if (j) { /*warning:ambiguous_nested_stmt*/
            j++;
        }
    else if (j) { /*warning:ambiguous_else_stmt*/
        i--;
    }

    if (j)
        if (i) /*warning:ambiguous_nested_stmt*/
            for (;;) /*warning:ambiguous_nested_stmt*/
                while (j) /*warning:ambiguous_nested_stmt*/
                    if (y) /*warning:ambiguous_nested_stmt*/
                        y--;
        else /*warning:ambiguous_else_stmt*/
            y++;
}

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
distil-0.8.1 vendor/jsl-0.3.0/tests/warnings/ambiguous_else_stmt.js
distil-0.8.0 vendor/jsl-0.3.0/tests/warnings/ambiguous_else_stmt.js
distil-0.7.0 vendor/jsl-0.3.0/tests/warnings/ambiguous_else_stmt.js