Skip to content

Invalid range when parsing generated yacc files. #5976

@brettfo

Description

@brettfo

REPRO:
0. (This was discovered while working on #5482 and may be dependent on that.)

  1. Set a conditional break point in the range constructor with the condition el > 100000000 (end line greater than 100 million).
  2. Debug.

RESULT:
An expression from the generated pars.fs has an ending line of 134 million. This eventually leads to bad PDBs being generated because a sequence point can't be properly set.

Possibly related to #4476.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Debugstepping, debug points, stacks and more

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions