Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
DedSec256 committed Nov 13, 2023
1 parent 320967b commit 2918a7f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Compiler/pars.fsy
Original file line number Diff line number Diff line change
Expand Up @@ -4900,12 +4900,10 @@ atomicExpr:

| UNDERSCORE recover %prec dot_lambda
{ let mUnderscore = rhs parseState 1
parseState.LexBuffer.CheckLanguageFeatureAndRecover LanguageFeature.AccessorFunctionShorthand mUnderscore

if not $2 then reportParseErrorAt mUnderscore (FSComp.SR.parsUnexpectedEndOfFileExpression())

let expr = SynExpr.Ident(Ident("_", mUnderscore))
let trivia: SynExprDotLambdaTrivia = { UnderscoreRange = mUnderscore ; DotRange = None }
SynExpr.FromParseError(expr, mUnderscore), false }

| atomicExpr HIGH_PRECEDENCE_BRACK_APP atomicExpr
Expand Down

0 comments on commit 2918a7f

Please sign in to comment.