Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Demonstrate the () ==> constant can not be parsed
  • Loading branch information
lexidor committed Jun 6, 2023
commit a693564cffbed73d789ee560a15a6972edfa3bbf
15 changes: 15 additions & 0 deletions src/__Private/codegen/data/LambdaBody.SyntaxExample.hack
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
namespace Facebook\HHAST\__Private\SyntaxExamples;

function lambda_body(): void {
() ==> Qualified\CONSTANT;
() ==> CONSTANT;
() ==> 1 + CONSTANT;
}