Skip to content
This repository was archived by the owner on Sep 1, 2023. It is now read-only.

Commit 026542b

Browse files
committed
Support dynamic in type structures
1 parent d22f420 commit 026542b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/TypeSpec/__Private/from_type_structure.hack

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ function from_type_structure<T>(TypeStructure<T> $ts): TypeSpec<T> {
5454
return TypeSpec\arraykey();
5555
case TypeStructureKind::OF_NORETURN:
5656
throw new UnsupportedTypeException('OF_NORETURN');
57+
case TypeStructureKind::OF_DYNAMIC:
5758
case TypeStructureKind::OF_MIXED:
5859
/* HH_IGNORE_ERROR[4110] */
5960
return new MixedSpec();

0 commit comments

Comments
 (0)