Skip to content

Commit ce6045f

Browse files
committed
Stop attempting to remove SPL autoloaders
The SPL autoload mechanism has been removed in current nightlies, so this fails to typecheck.
1 parent 536074f commit ce6045f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Writer.hack

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,6 @@ function initialize(): void {
242242
\$map = Generated\\map();
243243
244244
\HH\autoload_set_paths(/* HH_FIXME[4110] incorrect hhi */ \$map, Generated\\root());
245-
foreach (\spl_autoload_functions() ?: vec[] as \$autoloader) {
246-
\spl_autoload_unregister(\$autoloader);
247-
}
248245
249246
$add_failure_handler
250247
}

0 commit comments

Comments
 (0)