Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Compiler/pars.fsy
Original file line number Diff line number Diff line change
Expand Up @@ -5173,6 +5173,7 @@ parenExpr:
{ let mComma = rhs parseState 2
let mLparen = rhs parseState 1
let mRparen = rhs parseState 3
reportParseErrorAt mComma (FSComp.SR.parsExpectingExpression ())
let errorExpr = arbExpr ("tupleExpr3", mComma.EndRange)
let mTuple = unionRanges mComma $3.Range
let tupleExpr =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ ImplFile
(1,0--3,4), { LeadingKeyword = Module (1,0--1,6) })], (true, true),
{ ConditionalDirectives = []
CodeComments = [] }, set []))

(3,1)-(3,2) parse error Expecting expression
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ ImplFile
(1,0--3,6), { LeadingKeyword = Module (1,0--1,6) })], (true, true),
{ ConditionalDirectives = []
CodeComments = [] }, set []))

(3,1)-(3,2) parse error Expecting expression