Skip to content

Error message not helpful #571

Open
Open
@vchuravy

Description

The file being formatted has 3771 lines so line 4916 is not that helpful, the code is Enzyme.jl compiler.jl in EnzymeAD/Enzyme.jl#294

 Error occurred on line 4916, offset 33.
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] format_text(cst::CSTParser.EXPR, style::DefaultStyle, s::JuliaFormatter.State)
    @ JuliaFormatter ~/.julia/packages/JuliaFormatter/ohMeP/src/JuliaFormatter.jl:590
  [3] format_text(text::String, style::DefaultStyle, opts::JuliaFormatter.Options)
    @ JuliaFormatter ~/.julia/packages/JuliaFormatter/ohMeP/src/JuliaFormatter.jl:538
  [4] #format_text#206
    @ ~/.julia/packages/JuliaFormatter/ohMeP/src/JuliaFormatter.jl:530 [inlined]
  [5] #format_text#205

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions