repo.or.cz
/
hiphop-php.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Add more missing cases to simplify_subtype
2018-10-30
Sash
a
Manzyuk
Add
m
ore mis
s
ing
cases to
s
implify_su
b
t
yp
e
commit
|
commitdiff
|
tree
2018-10-26
Sasha
Manzyuk
Be mor
e
exp
l
icit a
b
out the def
a
ult
c
ase in si
m
p
lify_subtype
commit
|
commitdiff
|
tree
2018-10-25
Sa
s
ha Manz
y
uk
Flag a
r
ray a
s
signm
e
n
t
s
to undefined vari
a
ble
s
as erro
r
s
commit
|
commitdiff
|
tree
2018-10-18
Sasha Manzyuk
Impr
o
v
e
t
y
ping of array as
s
i
g
nment
commit
|
commitdiff
|
tree
2018-10-18
S
asha Manzyuk
Fix the definiti
o
n of type equality
commit
|
commitdiff
|
tree
2018-10-16
Sa
s
ha M
a
nzyuk
Sm
a
r
t
er unification of unresolved types
commit
|
commitdiff
|
tree
2018-10-11
Sasha Manzyuk
Unio
n
o
f float and int is num
commit
|
commitdiff
|
tree
2018-10-11
Sasha Man
z
y
u
k
Expa
n
d Tvars whe
n
computing
uni
o
ns o
f
unresolved
types
commit
|
commitdiff
|
tree
2018-10-08
S
ash
a
M
anzyuk
Mo
v
e
t
he
s
wi
t
ch
exhaustivenes
s
c
h
eck
to TAST checkin
g
commit
|
commitdiff
|
tree
2018-10-04
Sasha M
a
nzyuk
Move the check
t
hat the b
o
dy of
an XHP
node consis
t
s
.
.
.
commit
|
commitdiff
|
tree
2018-10-04
Sa
s
ha Manzyuk
Move
Callc
o
n
v (ino
u
t)
checks to TAST che
c
ki
n
g
commit
|
commitdiff
|
tree
2018-10-03
Sasha M
a
nz
y
u
k
Move the rvalue check into a TA
S
T check
commit
|
commitdiff
|
tree
2018-10-03
Sasha Manzyu
k
Give Shapes::toDi
c
t() an
a
d
hoc typi
n
g rule similar
.
.
.
commit
|
commitdiff
|
tree
2018-10-02
S
a
sha Manz
y
uk
Keep track of the
curr
e
nt
s
ubtype
p
roposition in the
.
.
.
commit
|
commitdiff
|
tree
2018-10-01
Sasha Manzyuk
Fix t
y
pe-c
h
ecking
o
f
s
witch statements
with
the default
.
.
.
commit
|
commitdiff
|
tree
2018-10-01
S
as
h
a
M
anzyuk
Move printing
a
n
d logging of subtype propositions
out
.
.
.
commit
|
commitdiff
|
tree
2018-09-27
Sasha M
a
nz
y
uk
Re
m
ove redun
d
ant
c
ase
a
nalysis when
t
ype-
c
hecking return
.
.
.
commit
|
commitdiff
|
tree
2018-09-25
Sasha
Ma
n
z
y
uk
Back out "D9677742 Impr
o
v
e
typing of array assignmen
t
"
commit
|
commitdiff
|
tree
2018-09-21
Sasha Manzyuk
Laxer typin
g
rules for
ap
p
end and assignment
to collections
.
.
.
commit
|
commitdiff
|
tree
2018-09-21
S
asha Manzy
u
k
Improve typing of arra
y
as
s
ignment
commit
|
commitdiff
|
tree
2018-09-20
S
asha Manzyuk
Us
e
the new union algorithm ins
t
ead of subtyping and
.
.
.
commit
|
commitdiff
|
tree
2018-09-18
Sasha Manzy
u
k
Appr
o
ximate union of t
u
ples by
a
t
uple
o
f unions
commit
|
commitdiff
|
tree
2018-09-17
S
asha Manzyuk
F
ix namespace resol
u
tion in anon
y
mous class
e
s
commit
|
commitdiff
|
tree
2018-09-10
Sasha Manzyuk
Add
a
n impl
i
cit
upper bound ?nonnull
t
o fully opaque
.
.
.
commit
|
commitdiff
|
tree
2018-09-07
Sasha Manzyuk
Move
t
he checks pe
r
formed w
h
e
n
type-checking switch
.
.
.
commit
|
commitdiff
|
tree
2018-09-07
Sa
s
ha M
a
n
z
yuk
Fi
x
deep
_
type_mapper
commit
|
commitdiff
|
tree
2018-09-07
Sasha Manzyuk
Special
c
as
e
unification i
n
volving
fresh
un
r
esol
v
e
d
.
.
.
commit
|
commitdiff
|
tree
2018-09-04
Sasha Manzyuk
Cle
a
n
u
p dead array appe
n
d code
commit
|
commitdiff
|
tree
2018-09-04
S
a
s
h
a
Manzyuk
Improve
t
yping of array a
p
pends
commit
|
commitdiff
|
tree
2018-08-10
Sasha Manzyuk
Make
`require e
x
tend
s
C
`
inside inte
r
fa
c
e
s
an
d
trai
t
s
.
.
.
commit
|
commitdiff
|
tree
2018-08-09
Sas
h
a Manzyuk
E
nforce that the enum constraint,
if
g
iven,
is a subtype
.
.
.
commit
|
commitdiff
|
tree
2018-08-07
S
asha Manzyuk
Disallo
w
using [] f
o
r rea
d
ing in an
l
value co
n
text
commit
|
commitdiff
|
tree
2018-08-06
Sasha Ma
n
zyuk
A
generic type paramet
e
r is
a
subtype of mixed
commit
|
commitdiff
|
tree
2018-08-06
S
ash
a
Manz
y
uk
A ne
w
type
i
s a subtype o
f
mix
e
d
commit
|
commitdiff
|
tree
2018-08-02
Sas
h
a
M
an
z
y
u
k
Prevent Sh
a
pe
s
::idx from creating redundant op
t
ion
.
.
.
commit
|
commitdiff
|
tree
2018-08-01
S
asha M
a
nzyuk
A generic type pa
r
amete
r
is a subtype of mixed
commit
|
commitdiff
|
tree
2018-08-01
Sasha Manzyuk
A n
e
wty
p
e
is a subt
y
pe of mi
x
ed
commit
|
commitdiff
|
tree
2018-07-27
Sasha Manzyuk
Fix
a
bug with extra
c
t
i
ng a ty
p
e from
a
n
a
waitabl
e
.
.
.
commit
|
commitdiff
|
tree
2018-07-24
Sa
s
h
a Manzyuk
C
l
ean
up
error code 4
1
4
0
(mi
s
sing optional field)
commit
|
commitdiff
|
tree
2018-07-23
Sasha Manzyuk
Improve typing
o
f
a
ssignmen
t
s to pr
o
perties of
unre
s
olved
.
.
.
commit
|
commitdiff
|
tree
2018-07-20
Sasha Manzy
u
k
Mov
e
redundant
n
ullsafe
p
r
operty access che
c
k out of
.
.
.
commit
|
commitdiff
|
tree
2018-07-20
Sasha Manzyuk
Array element assignment
commit
|
commitdiff
|
tree
2018-07-20
S
asha
M
anzyuk
Pr
o
perty
a
ss
i
g
n
me
n
t
commit
|
commitdiff
|
tree
2018-07-20
Sash
a
Manzyuk
S
h
ape field assign
m
ent
commit
|
commitdiff
|
tree
2018-07-20
Sasha
Manzyuk
Array append typing
commit
|
commitdiff
|
tree
2018-07-19
Sasha Manz
y
uk
Requir
e
functio
n
s with implici
t
or exp
r
e
s
sionless retu
r
ns
.
.
.
commit
|
commitdiff
|
tree
2018-07-13
Sasha Manzyu
k
(More)
s
ound typing of S
h
a
p
e
s::idx
commit
|
commitdiff
|
tree
2018-07-11
Sasha Ma
n
zyuk
Typing rules for idx
commit
|
commitdiff
|
tree
2018-07-11
Sasha
M
a
n
zyuk
Typing rules for Sha
p
es::idx
commit
|
commitdiff
|
tree
2018-07-11
S
asha
Ma
n
zyuk
Static prope
r
t
y
acc
e
ss
commit
|
commitdiff
|
tree
2018-07-11
Sa
s
ha
M
anzyuk
Ba
b
y steps towards forma
l
izati
o
n
of property ac
c
e
ss
commit
|
commitdiff
|
tree
2018-07-09
Sasha M
a
nzyuk
Stop
s
upportin
g
class constants as shape fi
e
ld
n
a
m
es
commit
|
commitdiff
|
tree
2018-07-04
Sasha Manzyuk
A f
e
w smal
l
f
ixes to subtyping when void is
t
reate
d
.
.
.
commit
|
commitdiff
|
tree
2018-07-03
S
asha Manzyu
k
Eli
d
e Tany w
h
en flatten
i
ng
unresolved types
commit
|
commitdiff
|
tree
2018-07-02
Sasha Manzyuk
Hac
k
arrays are
I
ndexish
commit
|
commitdiff
|
tree
2018-06-29
Sasha M
a
nzyuk
Rem
o
v
e
d
is
a
llow_unsafe_compari
s
ons o
p
tion
commit
|
commitdiff
|
tree
2018-06-29
Sasha Manzyuk
Rem
o
v
e
disallow_
n
on_arraykey_ke
y
s option
commit
|
commitdiff
|
tree
2018-06-29
S
asha Manzyu
k
Start
formali
z
ing nor
e
turn as the bottom
t
ype
commit
|
commitdiff
|
tree
2018-06-26
Sasha Manzyuk
Remove redund
a
nt unresolved
commit
|
commitdiff
|
tree
2018-06-26
Sasha Manzyuk
Replace unification with subtyping when downcasting
.
.
.
commit
|
commitdiff
|
tree
2018-06-26
Sas
h
a Man
z
yuk
I
m
prove typing of arr
a
ys c
o
ntaining
u
ntyp
e
d value
s
commit
|
commitdiff
|
tree
2018-06-26
Sasha Manz
y
uk
R
em
o
ve shape_fie
l
d_check op
t
ion
commit
|
commitdiff
|
tree
2018-06-25
S
a
sha Manzyuk
Use un
i
on
i
nstead of
u
nification
wh
e
n
t
ype-ch
e
c
k
ing
.
.
.
commit
|
commitdiff
|
tree
2018-06-22
Sash
a
Manzyuk
Remove p from the list of
indexvars
commit
|
commitdiff
|
tree
2018-06-22
Sasha Manzyu
k
L
egacy vec-l
i
ke arrays are covariant
commit
|
commitdiff
|
tree
2018-06-20
Sasha Manzyuk
B
ring the syntax for n
e
wt
y
pes into agree
m
ent w
i
th Hack
commit
|
commitdiff
|
tree
2018-06-19
Sasha Manzy
u
k
Nul
l
able ty
p
es are uni
o
ns
commit
|
commitdiff
|
tree
2018-06-14
Sash
a
Manzyuk
Replace wrapping
into unresolved with un
b
inding
commit
|
commitdiff
|
tree
2018-06-14
S
a
sha Manzyuk
Rem
o
ve another th
r
ee redundant unr
e
solved's
commit
|
commitdiff
|
tree
2018-06-14
Sasha Ma
n
zyuk
Remove a r
e
dund
a
nt unres
o
lved
commit
|
commitdiff
|
tree
2018-06-13
Sasha Man
z
yuk
Fix t
y
ping of Sh
a
p
es::idx() with a de
f
ault value
commit
|
commitdiff
|
tree
2018-06-13
Sasha Man
z
yuk
E
nable loopin
g
with
f
oreach over
co
n
taine
r
s of
unresolve
d
.
.
.
commit
|
commitdiff
|
tree
2018-06-13
Sasha Manzyuk
Add cases for primitives to simplify_subtype
commit
|
commitdiff
|
tree
2018-06-12
Sa
s
ha
Man
z
yuk
A minor clean-up
o
f
T
ypi
n
g_subtyp
e
.
commit
|
commitdiff
|
tree
2018-06-11
Sas
h
a Manzyuk
Add
c
ases for tuples to s
i
mplify_subt
y
pe
commit
|
commitdiff
|
tree
2018-06-11
Sasha Manzyuk
Add c
a
ses
for shape
s
to simplify_s
u
btype
commit
|
commitdiff
|
tree
2018-06-11
Sasha Manzyuk
Shape
s
a
r
e not Ind
e
xish
commit
|
commitdiff
|
tree
2018-06-07
S
a
sha Manzyu
k
Extend si
m
plify_subtype with c
a
ses
f
or enums
commit
|
commitdiff
|
tree
2018-06-06
Sas
h
a
Manzyuk
A
l
low
comparisons between objects o
f
ty
p
e
D
a
teTimeImmutable
commit
|
commitdiff
|
tree
2018-06-06
S
asha
Manzy
u
k
Extend simpli
f
y_subty
p
e with cases for n
e
wtyp
e
s
commit
|
commitdiff
|
tree
2018-06-06
Sasha M
a
n
zyuk
Move so
m
e subtyp
i
ng checks involving an opt
i
onal superty
p
e
.
.
.
commit
|
commitdiff
|
tree
2018-06-04
Sasha
M
anzy
u
k
Disall
o
w accessi
n
g class con
s
ts and stat
i
c
methods
.
.
.
commit
|
commitdiff
|
tree
2018-05-30
Sasha Manzyuk
T
a
st
_
che
c
k for in
v
al
i
d Shape
s
::i
d
x() calls
commit
|
commitdiff
|
tree
2018-05-30
Sas
h
a Man
z
yuk
Detect Shapes::
k
eyE
x
ists() check
s
that stat
i
c
a
lly
r
e
s
olve
.
.
.
commit
|
commitdiff
|
tree
2018-05-29
Sasha
M
a
nzy
u
k
Add a widening rule for cl
o
sed
s
hapes
commit
|
commitdiff
|
tree
2018-05-25
Sasha Manzyuk
Elide singleton unresolved's when set
t
in
g
l
o
c
a
l
variable
s
commit
|
commitdiff
|
tree
2018-05-24
Sash
a
Manzyuk
Add a ty
p
i
ng rul
e
stating t
h
at c
l
osed shapes can be
.
.
.
commit
|
commitdiff
|
tree
2018-05-23
S
a
sha Manzyuk
Rewr
i
te trivial
(non-)equ
a
l
ity comparis
o
n
checks as
.
.
.
commit
|
commitdiff
|
tree
2018-05-17
S
asha Manzyuk
Remov
e
a bit
o
f
code duplicat
i
on re
l
ated to refinement
.
.
.
commit
|
commitdiff
|
tree
2018-05-17
Sas
h
a Ma
n
z
y
uk
Shapes:
:
keyE
x
is
t
s() should refine its firs
t
ar
g
umen
t
.
.
.
commit
|
commitdiff
|
tree
2018-05-17
Sasha Manzyuk
I
m
p
rove typ
i
n
g of shape
s
wit
h
op
t
ional fie
l
ds
commit
|
commitdiff
|
tree
2018-05-16
Sasha Manzyuk
A
d
d a rul
e
for subtyping of open shapes
accoun
t
i
ng
.
.
.
commit
|
commitdiff
|
tree
2018-05-11
Sasha
Manzy
u
k
Disallow non-arraykey keys in Map/Set/dict/k
e
yset/
d
array
.
.
.
commit
|
commitdiff
|
tree
2018-05-04
Sasha Manzy
u
k
Make void the
type of
n
u
l
l
commit
|
commitdiff
|
tree
2018-05-04
Sasha Manzyuk
Make type-check
i
ng of compariso
n
s stricte
r
commit
|
commitdiff
|
tree
2018-05-03
Sa
s
ha Ma
n
zyuk
Fix promotion of
p
ending locals
commit
|
commitdiff
|
tree
2018-04-30
Sasha Manz
y
uk
Improv
e
typi
n
g
of Pairs
commit
|
commitdiff
|
tree
2018-04-27
Sas
h
a Man
z
yuk
P
reser
v
e r
e
as
o
n when
bind
i
ng a
typ
e
to a
fresh var
i
ab
l
e
commit
|
commitdiff
|
tree
2018-04-25
Sasha Ma
n
zyuk
Im
p
rove typing of tup
l
es
commit
|
commitdiff
|
tree
2018-04-25
S
a
s
h
a Ma
n
zyuk
Improve unificat
i
on of #n with ?#
n
commit
|
commitdiff
|
tree
next