Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
16 lines (13 sloc)
339 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?hh | |
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | |
interface I1 { | |
public function get<T>(T $in): void; | |
} | |
final class C1<T as string> implements I1 { | |
final public function get(string $in): void {} | |
} | |
abstract final class A1 { | |
final public static function bug(I1 $o, int $i): void { | |
$o->get($i); | |
} | |
} |