Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
ContextConstDeclaration is now an IClassBodyDeclaraiton
Browse files Browse the repository at this point in the history
  • Loading branch information
fredemmott committed Jan 21, 2021
1 parent f03c7aa commit 47b12c6
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 23 deletions.
37 changes: 18 additions & 19 deletions codegen/syntax/ClassishBody.hack

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions codegen/syntax/ContextConstDeclaration.hack

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/__Private/codegen/CodegenBase.hack
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ abstract class CodegenBase {
HHAST\IClassBodyDeclaration::class => keyset[
HHAST\MethodishDeclaration::class,
HHAST\MethodishTraitResolution::class,
HHAST\ContextConstDeclaration::class,
HHAST\ConstDeclaration::class,
HHAST\PropertyDeclaration::class,
HHAST\RequireClause::class,
Expand Down
3 changes: 1 addition & 2 deletions tests/TypeSpecifierOrContextsTest.hack
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/*
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
Expand Down Expand Up @@ -36,7 +35,7 @@ final class TypeSpecifierOrContextsTest extends TestCase {
classname<Node> $expected,
): Awaitable<void> {
if (\HHVM_VERSION_ID < 409300) {
self::markTestSkipped("Requires HHVM 4.93");
self::markTestSkipped('Requires HHVM 4.93');
}
$ast = await from_file_async(
File::fromPathAndContents(
Expand Down

0 comments on commit 47b12c6

Please sign in to comment.