Skip to content

Commit 985b85c

Browse files
committed
Diagnostics: add production rule index
1 parent 699291a commit 985b85c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fsharp/CompilerDiagnostics.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ let OutputPhasedErrorR (os: StringBuilder) (err: PhasedDiagnostic) (canSuggestNa
11691169
printfn " ----"
11701170
//printfn " state %d" state
11711171
for rp in rps do
1172-
printfn " non-terminal %+A: ... " (Parser.prodIdxToNonTerminal rp)
1172+
printfn " non-terminal %+A (idx %d): ... " (Parser.prodIdxToNonTerminal rp) rp
11731173
#endif
11741174

11751175
match ctxt.CurrentToken with

0 commit comments

Comments
 (0)