Skip to content

Multiline incomplete parenthesis: ParseError #602

Description

@WalterMadelim

copy the following code

function add_circuit_breaker_pair_module!(model, P_BUS_1, P_BUS_2, 
    p_ES, G, pLent, pEV_1, pU_1, pAC_1, D_1, 
    pEV_2, pU_2, pAC_2, D_2)
    pBus_1 = v(model, [1:T], lower_bound = -P_BUS_1, upper_bound = P_BUS_1)
end;

paste to a REPL:

julia> function add_circuit_breaker_pair_module!(model, P_BUS_1, P_BUS_2,
ERROR: ParseError:

windows, julia 1.12.1
from https://discourse.julialang.org/t/end-of-line-parseerror/133273?u=waltermadelim

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions