This checks that the given lambda has the right keywords
wrt to the expected type. Doing this should avoid the bad
arity errors that result from the kw protocol encoding.
Closes PR 13898
original commit: 2d81c9667c67249dd35a1f3e73d03d406dd28c56
I have no idea whether the change is generally right, but it allows
the build to complete and DrRacket to start.
original commit: 5b028396df6b80ab0a4333b8fc929f1f8d1f15b3
This changes Filters to have a Path as a subcomponent instead of having
the list of Path-Elems and name-ref/c separately. This is part of the
rework to have better object support.
original commit: 3831cb135ea65d259edb291836b9a2c46a32411b
Before that, ((inst make-vector Natural) 10) would return a (Vectorof
Integer) which is bad.
Thanks to Alexander Knauth for the suggestion!
original commit: aab724de351556b7def913c67797077df719fa54
This removes the need for the cache of type variables for instantiating
dotted variables, because we instantiate the uses at once.
Closes PR 14576.
Closes PR 14577.
Closes PR 14579.
Closes PR 14580.
original commit: fecaf5127dd51fd11eeb043887f336bfca71810e
If code is unreachable then looking up any variable should return
Bottom. But implementing checking unreachable code that way is not that
useful.
original commit: 76c3ec443f95150338a2b2f97d296dd97a17ffb2
There ought to be a way to improve the type of `apply-pattern-substitute`,
but we haven't found it yet.
original commit: 1380cfea346dd8a56ee7c9110b6da4fbc2ed2f96
Also fix TR `send` for multiple/any values as receiver
Now emits a real type error instead of crashing with
an internal match error.
Closes PR 14547
original commit: 7743386eec4f5d752f5f87dab52e2da43bd11926
Use new merge-tc-results as well.
This revealed some buggy tests as well which are also fixed.
original commit: 17c43c35ec371d17e0a1f52ba7f78cd32fc51ae9
(T @ x) => (! S @ x) when their intersection is empty.
Rearrange how we look through filters in -and so this rule applies more.
original commit: 5fa263b232c03b050e724185179e159c3f00685d
The non-productive type check in type parsing and in type
alias setup should produce the same failure messages.
original commit: 5431ddb6c1559f9dc6428b07d1bf340f0fd82759
Modules are not supposed to move to different packages, anymore, so
I'm breaking a rule. The problem is that having `rackunit/docs-complete`
in "scribble-lib" made "scribble-lib" depend on "racket-index", and
that's an undesirable dependency. (Installing Scribble shouldn't
force you to have Racket documentation.) I should have noticed
the problem when I moved `setup/xref` to "racket-index", but I missed
it.
As far as I can tell, there's only one package on pkgs.racket-lang.org
that isn't in the main repository and uses `rackunit/docs-index`. The
package doesn't correctly declare its dependencies, anyway.
original commit: d33c2252e10dbeb22e49c85f03707345e2756ce5
Make new tests actually run as part of the unit tests.
Make them not broken.
Fix broken package dependencies.
original commit: 1d64e37c3b083a65db67e79865c09d24b4316855