Matthew Flatt
68a96e094e
bytecode optimizer repair
...
Closes #1986
2018-03-12 20:17:54 -06:00
Vincent St-Amour
b4fec19c40
Fix link to TR test suite.
...
Closes #1985 .
2018-03-12 09:08:00 -05:00
Leandro Facchinetti
e7a421d08c
Fix typo in package documentation
2018-03-12 09:04:25 -05:00
Matthew Flatt
994a4d4a35
expander: fix problem with syntax-local-expand-expression
...
Closes #1984
2018-03-12 07:11:31 -06:00
Matthew Flatt
2f930dd6f3
add syntax-property-remove
2018-03-11 11:31:56 -06:00
Matthew Flatt
13242b06d6
expander: fix an error message
2018-03-11 10:37:37 -06:00
Sarah Spall
14448eb1bd
Moved release of lock to fix use after free
2018-03-10 08:55:21 -07:00
Matthew Flatt
f3596d96c2
bytes-converter: avoid unnecessary custodian registration
...
Some built-in bytes-converter combinations that were not
supposed to require custodian registration were neveretheless
registered, which created a small leak for some programs.
2018-03-10 07:20:41 -07:00
Matthew Flatt
3f2fd06cb0
expander: fix namespace-require/copy
2018-03-09 16:32:19 -07:00
Matthew Flatt
0d06ba2848
expander: treat unbound and top-level-bound as free-identifier=?
...
Restores quetionable but traditional behavior.
2018-03-09 16:07:37 -07:00
Matthew Flatt
35dc59ee07
expander: preserve syntax properties on let[rec]-values
clauses
2018-03-09 15:44:11 -07:00
Matthew Flatt
af4c23fa72
variable-reference->namespace: ensure that module is available
2018-03-09 11:06:49 -07:00
Matthew Flatt
234e47a58f
remove accidentally committed debugging output
...
Attempting to write the output could cause places to crash
on Windows.
2018-03-08 18:14:33 -07:00
Matthew Flatt
97721be2af
Windows: fix extflonum infinity and NaN without longdouble.dll
...
Since the reader's implementation includes quoted references
to infinity and NaN extflonums, make sure it reads and writes
and compiles correctly before "longdouble.dll" is installed.
2018-03-08 18:14:33 -07:00
Matthew Flatt
3cf2138841
expander: avoid equal?
-based hash table for module cache
...
Since a thread can be terminated while accessing the cache, it
can't be an `equal?`-based table where the lock can get lost.
2018-03-08 16:36:16 -07:00
Matthew Flatt
e4e17db51d
expander: fix origin tracking with a set!
transformer
2018-03-08 14:14:28 -07:00
Matthew Flatt
83d792fca5
reader: fix locations on various kinds of errors
2018-03-08 10:14:44 -07:00
Tony Garnock-Jones
32d119dfe6
Correct name of integer->integer-bytes in contract error message
2018-03-08 15:37:54 +00:00
Matthew Flatt
407c1b49c5
reader: repair #lang
change
...
Commit d5d8249c12
added too many syntax wrappers on
list forms.
2018-03-07 18:08:18 -07:00
Matthew Flatt
d5d8249c12
reader: fix "original?" property on #lang
-derived module name
2018-03-07 17:59:21 -07:00
Matthew Flatt
ab48afda7a
expander: further repair for implicit-form errors
...
The previous change didn't report a top-level unbound identifier
correctly.
2018-03-07 13:53:27 -07:00
Matthew Flatt
909fed6f2f
expander: reapirs for implicit-form errors
...
Add missing source for unavailable `#%datum`, etc., and
other similar adjustments.
2018-03-07 10:54:32 -07:00
Sam Tobin-Hochstadt
3438b888a2
Increase timeout for racket7
2018-03-07 11:06:48 -05:00
Matthew Flatt
ac2addeeb6
expander: fix 'origin on let-syntax
-bound id-macro expansions
2018-03-07 08:20:57 -07:00
Matthew Flatt
3861da41ed
remove debugging temporary
2018-03-07 08:16:56 -07:00
Matthew Flatt
d8dce77984
input-port-append: add #:name
argument
2018-03-06 20:01:47 -07:00
Matthew Flatt
9d77ffe6d5
avoid crashes while reading ill-formed bytecode
2018-03-06 18:33:49 -07:00
Matthew Flatt
c29e072f7e
identifier-binding: don't lose nominals
...
Repairs ebef94435c
2018-03-06 13:33:24 -07:00
Matthew Flatt
ebef94435c
identifier-binding: bias nominal to most recent require
...
The `identifier-binding` function doesn't promise to give back any
particular `require` as the nominal binding site, but some tests rely
on the most recent `require` as the binding site. Also, the arrows
in DrRacket look nicest that way.
2018-03-06 13:12:57 -07:00
Matthew Flatt
dffcbc1cb2
thread & io: code clean-ups
...
Remove unused `require`s and fix some indentation.
2018-03-06 13:04:27 -07:00
Matthew Flatt
82b5ec8d18
expander: fix registry-lock retry path
...
Provoking the retry path is extremely difficult, so it's unlikely to
have caused any problem so far.
2018-03-06 09:47:22 -07:00
Paulo Matos
80ae3394aa
Update function name
...
Function reference `supervise-named-dynamic-place-at` should be `supervise-place-at`.
2018-03-06 09:19:49 -07:00
Matthew Flatt
be371aa2cc
doc repair
...
Closes #1954
2018-03-06 09:12:48 -07:00
Matthew Flatt
050cdb5983
xform: avoid problems with __signbitf128
...
Closes #1962 and uses the suggested patch there, among other changes.
2018-03-06 09:05:08 -07:00
Matthew Flatt
efb9a919fc
ffi docs: clarification on unsafe-socket->port
...
Thanks to Hong Feng for suggesting the clarification.
2018-03-06 08:51:49 -07:00
Matthew Flatt
c5653b5bdd
expander: code clean-ups
...
Use `define/who` consistently, remove some unused `require`s, and fix
some bad indentation.
2018-03-05 19:34:41 -07:00
Matthew Flatt
bbefc9ed50
expander: fix taint propagation
...
A taint on a syntax object without scopes to propagate was propagated
incorrectly to a nested syntax object that also has pending scopes to
propagate.
2018-03-05 18:08:42 -07:00
Milo Turner
275d7974cd
Added #:cut pattern directive
2018-03-05 15:03:45 +01:00
Matthew Flatt
112aa6eb07
fix -m
command-line flag for new expander
2018-03-04 11:44:00 -07:00
Matthew Flatt
fc1da5f037
reader: fix quoting in some error messages
2018-03-04 11:22:18 -07:00
Matthew Flatt
c6579bbdcf
expander: fix provide of prop:exn:missing-module
2018-03-04 07:21:18 -07:00
Matthew Flatt
983a35a024
expander: repair handling of non-interned provide
s
2018-03-03 16:46:53 -07:00
Matthew Flatt
77028b9c95
fix potential error misreporting on a file-open failure
2018-03-03 10:02:12 -07:00
Matthew Flatt
ea7f973102
expander: repairs for top-level define-values
and begin-for-syntax
2018-03-02 18:00:02 -07:00
Matthew Flatt
88b066e1b2
expander: correct scope of added #%module-begin
wrapper
...
Also, fix a problem rendering module path indexes.
2018-03-02 15:17:37 -07:00
Robby Findler
34189b38f7
attmpet to clarify define/contract's boundary a bit more
2018-03-02 14:44:46 -06:00
Matthew Flatt
e78eb0563a
expander: fix shadowing require
after shadowing define
...
Refines the repair in 11fd70c3dd
to properly handle a `require` that
should be allowed to shadow the initial require.
2018-03-02 13:37:48 -07:00
Matthew Flatt
2104d02a23
reduce non-determinism in serialized syntax
2018-03-02 13:37:47 -07:00
Matthew Flatt
f439ab6b4e
add some missing checks in the bytecode reader
2018-03-02 13:37:46 -07:00
Robby Findler
081b1cc3f3
add for-label require; closes #1967
2018-03-02 07:42:56 -06:00