Skip to content

(FunctionClauseError) no function clause matching in XPSpitfire.peek_token_eat_eoe/1 #127

Description

@Terbium-135

Not sure if these warning are supposed to be reported. But they are opening a notification windows in VSCode every single time.

2026-03-31 17:53:51.910 [info] [Warn  - 5:53:51 PM] Spitfire crashed when parsing /home/elixir-dev/projects/ganymed/lib/backend_web/live/users_live.ex. This file will not be used in search index.
** (FunctionClauseError) no function clause matching in XPSpitfire.peek_token_eat_eoe/1
    (xp_spitfire 0.3.10) lib/spitfire.ex:3815: XPSpitfire.peek_token_eat_eoe(%{tokens: [nil | :eot], literal_encoder: #Function<0.62063253/2 in XPForge.Ast.Parser.Spitfire.opts/0>, errors: [{[line: 189, column: 7], "missing closing brace for tuple"}, {[line: 192, column: 18], "missing closing parentheses for function invocation"}, {[line: 197, column: 24], "missing closing parentheses for function invocation"}, {[line: 197, column: 40], "missing closing parentheses"}, {[line: 197, column: 40], "missing closing brace for map"}], current_token: {:"}", nil}, fuel: 150, peek_token: nil, nesting: 0})
    (xp_spitfire 0.3.10) lib/spitfire.ex:1853: anonymous fn/1 in XPSpitfire.parse_do_block/2
    (xp_spitfire 0.3.10) lib/spitfire/while.ex:4: XPSpitfire.While2.recurse/3
    (xp_spitfire 0.3.10) lib/spitfire/while.ex:10: XPSpitfire.While2.recurse/3
    (xp_spitfire 0.3.10) lib/spitfire.ex:1853: anonymous fn/1 in XPSpitfire.parse_do_block/2
    (xp_spitfire 0.3.10) lib/spitfire/while.ex:5: XPSpitfire.While2.recurse/3
    (xp_spitfire 0.3.10) lib/spitfire.ex:1851: XPSpitfire.parse_do_block/2
    (xp_spitfire 0.3.10) lib/spitfire.ex:3393: XPSpitfire.parse_identifier/1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions