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
Treat array as subtype of Traversable<any>
2019-04-14
A
ndrew Kenn
e
dy
Tre
a
t ar
r
ay as subtyp
e
of Traversa
b
le<any>
commit
|
commitdiff
|
tree
2019-04-12
Andrew
Kennedy
New in
f
erence:
chec
k
legac
y
lambdas us
i
ng constra
i
n
ts
.
.
.
commit
|
commitdiff
|
tree
2019-04-10
Andrew
Kennedy
New inference: narrow types for
ar
r
ay access t
h
rough
.
.
.
commit
|
commitdiff
|
tree
2019-04-09
Andrew Kennedy
Type untyped
p
a
r
ame
t
ers with default expre
s
sions
a
s
.
.
.
commit
|
commitdiff
|
tree
2019-04-08
A
ndrew Kennedy
Ne
w
inference: remove no
-
e
a
g
er
-
s
o
lve op
t
ion
commit
|
commitdiff
|
tree
2019-04-04
An
d
rew Kennedy
New
infer
e
nce
:
d
eal with unions containi
n
g type var
i
ables
.
.
.
commit
|
commitdiff
|
tree
2019-04-03
Andre
w
K
e
nned
y
New inference: don't reje
c
t array indexing
w
here nothing
.
.
.
commit
|
commitdiff
|
tree
2019-04-03
Andr
e
w
Kenn
e
d
y
Fix
type
checking of
n
ull
s
afe shape acc
e
sses
commit
|
commitdiff
|
tree
2019-03-28
Andr
e
w Kennedy
New infe
r
ence:
l
oggin
g
of changes to e
n
vironment between
.
.
.
commit
|
commitdiff
|
tree
2019-03-28
Andre
w
Ken
n
edy
More concise and useful type checker loggi
n
g
commit
|
commitdiff
|
tree
2019-03-22
Andrew Kennedy
New infe
r
ence: check index t
y
pe in array get during
.
.
.
commit
|
commitdiff
|
tree
2019-03-21
Andr
e
w Kennedy
New i
n
fe
r
e
n
ce: lambdas by co
n
straint solving
commit
|
commitdiff
|
tree
2019-03-05
And
r
ew Kenned
y
Ne
w
in
f
erence: eager solv
e
for null refinement only
.
.
.
commit
|
commitdiff
|
tree
2019-03-04
Andrew Kennedy
N
e
w inference: apply narrowing to type variable
bounds
.
.
.
commit
|
commitdiff
|
tree
2019-03-04
A
n
dr
e
w Kennedy
New inference: remove
r
edund
a
nt type var
i
ables fr
o
m
.
.
.
commit
|
commitdiff
|
tree
2019-03-01
A
ndrew Kennedy
New in
f
erenc
e
: f
l
ag eagerly-solved t
y
pe v
a
r
iables and
.
.
.
commit
|
commitdiff
|
tree
2019-02-15
Andre
w
K
ennedy
New in
f
ere
n
ce: error if eage
r
so
l
ving to n
o
th
i
ng
commit
|
commitdiff
|
tree
2019-02-13
Andrew
Kennedy
New inference: cle
a
n up varia
n
ce
setting
commit
|
commitdiff
|
tree
2019-02-13
Andrew Kennedy
Add
nullable sm
a
r
t construc
t
or to
T
yping_make_
t
ype
commit
|
commitdiff
|
tree
2019-02-11
Andrew Kennedy
New inf
e
rence: flatten unions wh
e
n
s
ol
v
ing for
l
ow
e
r
.
.
.
commit
|
commitdiff
|
tree
2019-02-07
Andrew Kennedy
Check
u
se of vari
a
nt parameters
i
n
w
here constrain
t
s
commit
|
commitdiff
|
tree
2019-02-07
A
n
drew Kennedy
New inference: m
a
intain
p
o
sition
i
nformatio
n
in type
.
.
.
commit
|
commitdiff
|
tree
2019-02-06
A
ndrew
K
en
n
edy
Report er
r
or
for *all* i
n
corr
e
ct
u
ses of variant ty
p
e
.
.
.
commit
|
commitdiff
|
tree
2019-02-05
A
ndrew Kennedy
New
inference: use l
i
sts
n
ot sets for tyvars
commit
|
commitdiff
|
tree
2019-02-04
Andrew Kennedy
N
e
w
i
n
f
erence: set
tyvar
v
ariance to account for lambda
.
.
.
commit
|
commitdiff
|
tree
2019-01-31
And
r
ew K
e
nnedy
Ne
w
inference:
r
emove even more
tyvars plumbing
commit
|
commitdiff
|
tree
2019-01-31
Andrew Kennedy
Ne
w
inference: re
m
o
v
e more tyvars plu
m
bin
g
commit
|
commitdiff
|
tree
2019-01-31
A
n
drew Kennedy
New infer
e
n
c
e: simplif
y
tyva
r
s plumbing
commit
|
commitdiff
|
tree
2019-01-30
A
nd
r
ew Ken
n
edy
Type i
n
ference: tr
a
ck
tyvars
for static
_
class_id,
in
.
.
.
commit
|
commitdiff
|
tree
2019-01-30
Andrew
Kennedy
Ne
w
i
n
ference: do not c
h
eck in
d
e
x type of covariant
.
.
.
commit
|
commitdiff
|
tree
2019-01-26
Andrew Kennedy
New
i
nf
e
rence:
m
o
re tests
commit
|
commitdiff
|
tree
2019-01-25
Andrew K
e
nnedy
Clean up printing of types in erro
r
messages
commit
|
commitdiff
|
tree
2019-01-25
Andre
w
Kennedy
New i
n
ference: type varia
b
l
e
type in TypeStructur
e
.
.
.
commit
|
commitdiff
|
tree
2019-01-24
Andrew Ken
n
edy
New
inference: ins
t
a
nceof o
n
c
lass expression of ty
p
e
.
.
.
commit
|
commitdiff
|
tree
2019-01-24
Andr
e
w
Kennedy
Produce error for t
y
pe checker time
o
ut on fun
c
tion
.
.
.
commit
|
commitdiff
|
tree
2019-01-24
An
d
rew Kenn
e
dy
New inference
:
new
t
est
case
s
that are co
r
r
ectly rejected
.
.
.
commit
|
commitdiff
|
tree
2019-01-23
Andrew
Kennedy
New
inference: spurious circular types
commit
|
commitdiff
|
tree
2019-01-21
Andr
e
w
K
e
n
ne
d
y
New infe
r
ence: re
m
ove redundant
upper
b
o
und
s
when so
l
ving
.
.
.
commit
|
commitdiff
|
tree
2019-01-21
Andrew K
e
nnedy
New inf
e
r
e
nce
:
upd
a
t
e
varian
c
e of type variables after
.
.
.
commit
|
commitdiff
|
tree
2019-01-19
A
n
drew Kennedy
Reject use of
s
uperglobals
i
n strict mod
e
commit
|
commitdiff
|
tree
2019-01-19
Andr
e
w Kennedy
New infere
n
ce: overlo
a
de
d
idx
commit
|
commitdiff
|
tree
2019-01-17
Andrew
K
ennedy
New inf
e
ren
c
e: permit non-ar
r
aykey
indexing of array
.
.
.
commit
|
commitdiff
|
tree
2019-01-16
Andrew Kennedy
Do
not infer the
a
ny type when lambda has
n
o
re
t
urn
.
.
.
commit
|
commitdiff
|
tree
2019-01-15
Andrew Ken
n
ed
y
N
e
w inference: fix
d
ou
b
le nullab
l
e issue
commit
|
commitdiff
|
tree
2019-01-11
Andrew Kennedy
New Infer
e
nce: new tes
t
tha
t
should be rejec
t
ed
commit
|
commitdiff
|
tree
2019-01-11
An
d
rew
Kennedy
Ne
w
infere
n
ce: eager solvi
n
g of
type variable for
n
ullable
.
.
.
commit
|
commitdiff
|
tree
2019-01-11
And
r
ew
K
e
nnedy
New inference: re
p
lace new-infer
e
nce-eager-
s
olv
e
fl
a
g
.
.
.
commit
|
commitdiff
|
tree
2019-01-10
Andre
w
Kennedy
Ne
w
inference: tests
for la
m
bda
s
commit
|
commitdiff
|
tree
2019-01-09
Andrew
K
e
n
n
e
dy
New infere
n
ce: less const
r
a
ining eag
e
r solvin
g
commit
|
commitdiff
|
tree
2019-01-08
And
r
e
w
Kennedy
Ne
w
Inference: Don't check
t
ype
o
f index against
coll
e
ction
.
.
.
commit
|
commitdiff
|
tree
2019-01-08
Andrew Kennedy
N
ew inference: Revert unsound arr
a
y append c
h
ange
commit
|
commitdiff
|
tree
2019-01-08
A
ndrew Ken
n
e
d
y
Cl
e
an up ty
p
e checking of collection literals
commit
|
commitdiff
|
tree
2019-01-04
A
n
dre
w
K
e
nnedy
Remov
e
suppor
t
f
o
r s
h
a
p
e-l
i
ke a
r
rays
commit
|
commitdiff
|
tree
2018-12-21
Andrew K
e
nne
d
y
N
e
w
i
n
fere
n
ce: array
a
p
p
end
commit
|
commitdiff
|
tree
2018-12-20
Andrew Ken
n
edy
Typing_
m
ak
e
_type cle
a
nup
and is_
h
ack_collect
i
on
commit
|
commitdiff
|
tree
2018-12-19
And
r
ew Ke
n
nedy
N
e
w inference: e
a
ge
r
so
l
v
i
n
g
for function
appl
i
cation
commit
|
commitdiff
|
tree
2018-12-15
Andr
e
w
Kennedy
Control ver
b
o
s
e display of
t
y
pes
w
i
th
h
h_lo
g
_level
commit
|
commitdiff
|
tree
2018-12-13
Andrew K
e
n
nedy
Smart constru
c
to
r
s for primitive
t
ypes
commit
|
commitdiff
|
tree
2018-12-11
A
ndrew
K
ennedy
Pre-emptively solve if a
c
c
essing
membe
r
on a
type variable
commit
|
commitdiff
|
tree
2018-12-11
And
r
ew Kennedy
Gat
e
e
a
ger
s
olving of invariant type
v
ariables be
h
ind
.
.
.
commit
|
commitdiff
|
tree
2018-12-11
And
r
ew Kennedy
Record fresh t
y
pe variables from instance metho
d
s
commit
|
commitdiff
|
tree
2018-12-10
Andrew
Kenned
y
Type in
f
erence for array ge
t
o
peration when array has
.
.
.
commit
|
commitdiff
|
tree
2018-12-10
Andrew Kennedy
Simplify unions and nullables subtyping a type v
a
riabl
e
commit
|
commitdiff
|
tree
2018-12-07
Andrew Ke
n
nedy
Enable
new_
i
nfe
r
en
c
e for sample
o
f files under hh
commit
|
commitdiff
|
tree
2018-12-06
Andrew Kennedy
Another
t
est for constraint
b
ased infer
e
nce
commit
|
commitdiff
|
tree
2018-12-05
An
d
re
w
Kennedy
Mat
c
h legacy t
r
eatment
of Tan
y
in constraint-based
.
.
.
commit
|
commitdiff
|
tree
2018-12-05
A
n
drew Ken
n
edy
Record typ
e
var
i
a
b
les for
l
amb
d
a return type
commit
|
commitdiff
|
tree
2018-12-05
Andrew Kennedy
Implement sub_str
i
ng usin
g
subtyping
commit
|
commitdiff
|
tree
2018-12-04
A
n
drew
Kennedy
Properly detect generic parameter
s
in statics under
.
.
.
commit
|
commitdiff
|
tree
2018-12-04
Andrew Ken
n
e
dy
Simplify s
u
bt
y
pe: unions
o
n right
commit
|
commitdiff
|
tree
2018-12-03
Andrew Kennedy
Add
re
g
ress
i
on tests to new_inf
e
rence directory
commit
|
commitdiff
|
tree
2018-12-03
Andrew Kennedy
Remove unification from fold_unresolve
d
commit
|
commitdiff
|
tree
2018-12-03
A
n
drew Ken
n
edy
Remo
v
e use of iunify
commit
|
commitdiff
|
tree
2018-11-30
Andrew Kennedy
Ignor
e
le
a
d
i
n
g
and trai
l
ing
s
pace in test outp
u
t
commit
|
commitdiff
|
tree
2018-11-30
Andrew Ken
n
e
dy
Remember fresh type variables for un
i
o
n
s and
await
.
.
.
commit
|
commitdiff
|
tree
2018-11-30
Andrew K
e
nnedy
Return expanded type f
r
om fold_u
n
resolved
commit
|
commitdiff
|
tree
2018-11-29
Andrew Kennedy
Move more lo
g
ic into simplify
_
subtype (3
)
commit
|
commitdiff
|
tree
2018-11-29
Andrew Kennedy
Set v
a
riance
and
s
olve t
y
pe variables for ar
r
ay_map
etc
commit
|
commitdiff
|
tree
2018-11-28
An
d
rew
Kenned
y
M
o
ve
more logic into
simplif
y
_subtype (
2
)
commit
|
commitdiff
|
tree
2018-11-28
Andrew Kennedy
Mov
e
more logic into si
m
p
l
ify_sub
t
ype
commit
|
commitdiff
|
tree
2018-11-28
Andrew
Kennedy
Se
t
an
d
solve tyvars
f
or Shap
e
s::idx
commit
|
commitdiff
|
tree
2018-11-28
Andrew Kennedy
Set tyv
a
r
variance during checking of me
m
oize
commit
|
commitdiff
|
tree
2018-11-28
Andrew Ken
n
edy
S
e
t
v
ariance a
n
d
solve type variables fo
r
aw
a
it statement
commit
|
commitdiff
|
tree
2018-11-27
A
nd
r
ew Kennedy
Don't ad
d
redundant bou
n
d
s to tv
e
nv
commit
|
commitdiff
|
tree
2018-11-27
Andrew
K
e
nnedy
Implemen
t
--hh-
l
og-level on h
h
_single_t
y
pe
_
c
h
eck
commit
|
commitdiff
|
tree
2018-11-26
Andrew Kenned
y
Add logi
c
for AKdepend
e
nt to s
i
mplify_subt
y
p
e
commit
|
commitdiff
|
tree
2018-11-23
Andrew Ken
n
edy
R
e
place hh_show by expec
t
(
.
.
.
)
in tests (1)
commit
|
commitdiff
|
tree
2018-11-23
Andrew
Kennedy
A
dd typechecker
test option to ignore
e
rror
t
ext
commit
|
commitdiff
|
tree
2018-11-22
And
r
ew Kennedy
Solve type
variab
l
es
generated for foreach
commit
|
commitdiff
|
tree
2018-11-22
Andrew Kennedy
Sol
v
e
c
o
ns
t
rai
n
t
s
for constructor
c
alls
commit
|
commitdiff
|
tree
2018-11-19
A
n
d
r
e
w Ke
n
n
e
d
y
Apply transitive subtyping
when adding lowe
r
o
r u
p
per
.
.
.
commit
|
commitdiff
|
tree
2018-11-18
Andrew
K
enned
y
U
s
e --
f
lags opt
i
on
to *a
p
pend* flags on hh_singl
e
_
type_chec
k
commit
|
commitdiff
|
tree
2018-11-17
A
ndrew Ke
n
nedy
Ma
k
e exact types expl
i
cit in our type
r
epresentation
commit
|
commitdiff
|
tree
2018-11-15
And
r
e
w
Kennedy
Solve type variable
s
b
y
using their variance
commit
|
commitdiff
|
tree
2018-11-15
Andrew Kenned
y
Add variance of type
v
ariab
l
es based on expression
.
.
.
commit
|
commitdiff
|
tree
2018-11-13
Andrew Kennedy
A
d
d
va
r
i
a
n
ce information to type variable
e
n
vironment
commit
|
commitdiff
|
tree
2018-11-12
A
nd
r
ew K
e
nn
e
dy
Improve error mess
a
ges
for cal
l
s thr
o
ugh unkno
w
n
t
y
p
e
.
.
.
commit
|
commitdiff
|
tree
2018-11-12
An
d
rew Kennedy
A
dd
t
ype variable envir
o
nment f
o
r constraint solving
commit
|
commitdiff
|
tree
2018-11-08
And
r
ew
K
ennedy
More f
i
ne
-
gr
a
ined control of
l
ogging
commit
|
commitdiff
|
tree
2018-11-05
Andrew Kennedy
Rem
o
ve <static>
f
r
o
m
A
Kd
e
pendent and
u
se this
ins
t
ead
commit
|
commitdiff
|
tree
next