Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't assert on new Closure
Summary: We're about to fatal anyway. Reviewed By: ricklavoie Differential Revision: D8723974 fbshipit-source-id: 94def4f2ce21e4660af2426f0c61734be0037a58
- Loading branch information
Showing with 11 additions and 1 deletion.
|@@ -0,0 +1,5 @@|
|<?hh // strict|
|// Copyright 2004-present Facebook. All Rights Reserved.|
|$s = "Closure";|
|@@ -0,0 +1 @@|
|Fatal error: Can't create a Closure directly in %s/test/slow/closure/new_closure.php on line 5|