No error on use of `unsafe_cast`
[hiphop-php.git] / hphp / hack / test / typecheck / interface_constructor2.php
blobfef594419a657f6e24a01ce898b33b9c25da1828
1 <?hh // strict
2 /**
3 * Copyright (c) 2014, Facebook, Inc.
4 * All rights reserved.
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the "hack" directory of this source tree.
12 interface Foo {
13 public function __construct(int $x);
16 class A implements Foo {
17 public function __construct(bool $x) {}