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
/
shapes_cc_16.php
blob
6313fb1d9df108194b18ca8660047b2de364c146
1
<
?hh
// strict
2
3
/*
4
* Invalid declaration: shape field names may not be int-like strings
5
*/
6
7
type myshape
=
shape
(
8
'123'
=>
int
,
9
'field2'
=>
bool
10
);