repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Untyped variadic function types should not be permitted in strict mode
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
delayed_subst5.php
blob
a7bf9f095727ca4e2cce8434d268f673377c4f15
1
<
?hh
// strict
2
// Copyright 2004-present Facebook. All Rights Reserved.
3
4
final class
Child
extends
Base
<
int
> {
5
6
use
ATrait
;
7
}
8
9
trait ATrait
{
10
11
require extends
Base
<
mixed
>;
12
}
13
14
class
Base
<
+T
> {
15
16
public function
get
():
T
{
17
// UNSAFE
18
}
19
}