Brown
|
bebfac0ab6
|
Fix #3426 - allow falsy reconciliation for templated params
|
2020-05-22 13:16:48 -04:00 |
|
Brown
|
1b84fc2c12
|
Fix #3419 - don’t add null to return type when template/conditional return is used
|
2020-05-22 12:44:19 -04:00 |
|
Matthew Brown
|
6784a90b2f
|
Fix #3423 - allow conditional with func_num_args() in namespace
|
2020-05-21 11:29:54 -04:00 |
|
Matthew Brown
|
952216ff21
|
Fix test
|
2020-05-20 23:24:50 -04:00 |
|
Matthew Brown
|
2d02064962
|
Fix #3407 - allow multiple matching generic classes in union
|
2020-05-20 09:11:17 -04:00 |
|
Brown
|
f335560b69
|
Allow setting property on templated type
|
2020-05-19 17:31:05 -04:00 |
|
Matthew Brown
|
4dd0a2b775
|
Fix #3380 - allow comparisons between template param and empty array
|
2020-05-16 16:41:07 -04:00 |
|
Matthew Brown
|
8c236f411a
|
Fix #3353 - allow extending nested when nested as type is mixed
|
2020-05-12 15:07:16 -04:00 |
|
Brown
|
3e16aec33c
|
Remap generic template params where necessary
Fixes #3325
|
2020-05-08 22:55:18 -04:00 |
|
Brown
|
a089d8bd58
|
Fix #3296 - propagate final flag to static calls in return types
|
2020-05-03 20:42:06 -04:00 |
|
Brown
|
bf5e178d16
|
Fix #3289 - treat property on non-generic type like actual value
|
2020-05-02 23:37:59 -04:00 |
|
Brown
|
07e5250292
|
Fix #3273 - add support for func_num_args() in conditional type
|
2020-05-01 16:02:53 -04:00 |
|
Brown
|
0d8b56dc78
|
Fix return type coalescing for conditional return types
|
2020-05-01 13:04:48 -04:00 |
|
Brown
|
6024447ca0
|
Expand function-based template types before comparing against inherited
Fixes #3276
|
2020-05-01 12:40:10 -04:00 |
|
Brown
|
d1b10341de
|
Remove suppression
|
2020-04-28 22:37:20 -04:00 |
|
Brown
|
63c190ff83
|
Fix #3257 - refine as type and clone where necessary
|
2020-04-28 22:26:54 -04:00 |
|
Brown
|
a670aa7ddc
|
Fix #3214 - allow if/else branches of conditional to both be arrays
|
2020-04-22 16:07:13 -04:00 |
|
Brown
|
52c0346b65
|
Fix #3213 - make sure static is bound from a static call with set class
|
2020-04-22 11:34:46 -04:00 |
|
Brown
|
8f57d0c738
|
Fix #3204 - normalise function ids where possible
|
2020-04-20 21:38:35 -04:00 |
|
Brown
|
6fc18af42e
|
Fix #3163 - map object-like arrays too
|
2020-04-19 18:46:24 -04:00 |
|
Brown
|
2188b6736f
|
Fix #3162
Descend into inherited templates to prevent function-defined templates mapping inappopriately
|
2020-04-19 12:19:39 -04:00 |
|
Brown
|
3e07684855
|
Fix iterable coercion for Traversable-extending types
Fixes #3159
|
2020-04-19 09:15:20 -04:00 |
|
Brown
|
d2d795018f
|
Fix #3138 - fix inherited property template type inference
|
2020-04-18 16:57:13 -04:00 |
|
Brown
|
8d29b27204
|
Allow assigning null to template with null potential
|
2020-04-18 15:34:14 -04:00 |
|
Brown
|
b0455adced
|
Fix #3177 - prevent crash by using inherited templates
|
2020-04-18 11:48:22 -04:00 |
|
Brown
|
5180ce1f54
|
Improve template assertion reconciliation
Fixes #3144
|
2020-04-18 11:22:06 -04:00 |
|
Valentin Udaltsov
|
9b8e8ab964
|
Support non-empty-arrays in array_keys (#3168)
Closes #3160
|
2020-04-18 00:56:54 -04:00 |
|
Matthew Brown
|
aa29c7fc9e
|
Revert "Support non-empty-arrays in array_keys (#3168)" (#3172)
This reverts commit a280e57ecf .
|
2020-04-17 16:52:08 -04:00 |
|
Valentin Udaltsov
|
a280e57ecf
|
Support non-empty-arrays in array_keys (#3168)
Closes #3160
|
2020-04-17 15:07:41 -04:00 |
|
Brown
|
aa3846758e
|
Fix #3153 - narrow template types in conditional branches
|
2020-04-17 09:53:58 -04:00 |
|
Brown
|
5ef82b53f6
|
Fix #3137 - support nested templates in class definitions
|
2020-04-17 01:16:15 -04:00 |
|
Brown
|
35d376cbe7
|
Fix #3164 - allow nested templates in conditional classes
|
2020-04-17 00:46:27 -04:00 |
|
Brown
|
15df39f72f
|
Fix #3127 - allow templated param to be accepted where static is expected
|
2020-04-12 20:09:49 -04:00 |
|
Brown
|
672baea6fc
|
Fix #3116 - allow class to be compared to a templated class-string
|
2020-04-10 00:26:11 -04:00 |
|
Brown
|
a117c48bb2
|
Add back nuance to error messages for conflicting type bounds
|
2020-04-08 12:37:46 -04:00 |
|
Brown
|
5db9f0e8c0
|
Fix #2722 - change behaviour to inherit params to match just on position
And not name + position
|
2020-04-08 00:54:17 -04:00 |
|
Brown
|
067104e170
|
Fix #3084 - keep track of upper and lower bounds of inferred template types
|
2020-04-07 00:13:56 -04:00 |
|
Brown
|
387bc02e71
|
Fix #3082 - merge intersection types when replacing template types
|
2020-04-06 10:19:36 -04:00 |
|
Brown
|
aca84e6f96
|
Fix inconsistency in partial template matching
|
2020-04-05 18:40:25 -04:00 |
|
Matthew Brown
|
d1270a61c7
|
Suppress MixedAssignment again
|
2020-04-05 01:04:52 -04:00 |
|
Brown
|
1bf1a6e46b
|
Accept partial match of template type
|
2020-04-04 17:14:33 -04:00 |
|
Brown
|
0db49e38f0
|
Covariant can accept anything
|
2020-04-04 12:05:01 -04:00 |
|
Brown
|
1b01d7b356
|
Fix tests
|
2020-04-04 11:51:24 -04:00 |
|
Brown
|
b73b75f1a1
|
Allow newlines in shortcut version of return type provider
|
2020-04-04 11:04:00 -04:00 |
|
Brown
|
56cc5fb611
|
Allow shortcut for specifying conditional template types
|
2020-04-04 09:31:12 -04:00 |
|
Brown
|
8f8cc6aed5
|
Move conditional return type tests
|
2020-04-04 09:27:11 -04:00 |
|
Brown
|
c0e573ab6a
|
Try harder to understand templated array_map callable array
Fixes #3039
|
2020-04-03 16:53:56 -04:00 |
|
Brown
|
fa28d767fc
|
Prevent a templated type from hitting covariance checks
|
2020-04-01 10:53:40 -04:00 |
|
Matthew Brown
|
de6aee32d1
|
Fix #3035 - improve templating for property assignments
|
2020-03-28 17:18:21 -04:00 |
|
Brown
|
056f4aaac6
|
Fix #3027 - inherited properties should be templated properly
|
2020-03-27 18:31:48 -04:00 |
|