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
No error on use of `unsafe_cast`
[hiphop-php.git]
/
hphp
/
hack
/
test
/
typecheck
/
xhp_attr_20.php
blob
ac3ecc5645d2037e68ed722b91310879e526b187
1
<
?hh
// strict
2
3
class
:
foo
extends
XHPTest
{
4
attribute
int
bar
=
123
;
5
}
6
7
function
testDefaultMakesNotNullable
():
void
{
8
<
foo bar
={
null
} />;
9
}