From 2918a7fdbc7d650b494188de79a95a11c16e5d44 Mon Sep 17 00:00:00 2001 From: "Alexey.Berezhnykh" Date: Mon, 13 Nov 2023 21:19:55 +0300 Subject: [PATCH] wip --- src/Compiler/pars.fsy | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Compiler/pars.fsy b/src/Compiler/pars.fsy index 24d18c516cf..c100ae187ad 100644 --- a/src/Compiler/pars.fsy +++ b/src/Compiler/pars.fsy @@ -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