Commit Graph

33133 Commits

Author SHA1 Message Date
Asumu Takikawa
9e7b013a7d Fix typecheck-fail in TR
Closes PR 14449
2014-04-18 11:15:35 -04:00
Robby Findler
34abe306e3 fix a non-buggy set!-before-initialization in syntax-browser
What appears to be happening is that the fields path and next-push
are state variables on this class that are initialized and then used
only during the dynamic-extent of syntax-object->datum/record-paths
and of the pretty-printing code.

So, before the check was in place, they were initialized and used
before the 'path' field was initialized, but by the time the path
field was initialized, the value was junk (not going to be used again)
but it still raised an error
2014-04-18 06:57:45 -05:00
Robby Findler
9d9a1cd054 add some debugging information into the module language test suite
specifically, when tests fail and there is an error icon in the REPL,
then go find the stack associated with it and print it out
2014-04-18 06:57:45 -05:00
Mike Sperber
cfb45e91e3 Sync German string constants with latest. 2014-04-18 09:47:02 +02:00
Robby Findler
ccefa53af3 add missing release notes
Please include in 6.0.1
2014-04-17 22:38:42 -05:00
Robby Findler
a9f46ade9e make the teaching languages cooperate with the new undefined semantics 2014-04-17 19:47:35 -05:00
Robby Findler
0372249eba update Redex to cooperate with the new undefined semantics 2014-04-17 16:51:18 -05:00
Robby Findler
1cb1ff284b some work on random generation from contracts 2014-04-17 16:51:17 -05:00
Asumu Takikawa
0ce0abb2c2 More TR class adjustments for expansion changes 2014-04-17 15:34:58 -04:00
Matthew Flatt
4bf1f90c3c racket/class: fix empty define-values
Closes PR 14451
2014-04-17 10:48:16 -06:00
Robby Findler
72bc8ffd56 fix redex docs
closes PR 14450
2014-04-17 11:34:29 -05:00
Matthias Felleisen
f4f925d4d1 fixing how to count 2014-04-17 10:51:23 -04:00
Sam Tobin-Hochstadt
4872bdfb2f Fix mzlib/unit tests for new undefined handling. 2014-04-17 10:05:29 -04:00
Matthew Flatt
46a66819cc add 'undefined-error-name property for letrec bindings 2014-04-17 06:58:01 -06:00
Matthew Flatt
13db06d5df racket/draw Cocoa: fix (again!) surroate-pair patch for Pango 2014-04-17 06:37:15 -06:00
Matthew Flatt
f36e575735 add Claire to acks 2014-04-17 06:37:15 -06:00
Matthew Flatt
22b48e03c8 make assignment-before-initialization an error
Recent changes made use-before-initialization an error for
`letrec` bindings, `class` fields, and `unit` definitions.
Now, assignment-before-initialization is also an error.
2014-04-17 06:37:15 -06:00
Matthew Flatt
52ea013f87 add static annotations on local functions 2014-04-17 06:37:14 -06:00
Claire Alvis
a6ea577869 make indentation match other files
(Actually by Matthew, but setting Claire as the author so
that it will be easier to see via `git blame` in the future
if I mangle Claire's code.)
2014-04-17 06:37:14 -06:00
Robby Findler
9a017a789f fix use before definition bug 2014-04-17 07:34:03 -05:00
Robby Findler
b08a831fc9 accidentally pushed a commit I didn't intend to
Revert "IN PROGRESS: started on redex undefined check update"

This reverts commit 3859a6f69e.
2014-04-16 22:07:01 -05:00
Robby Findler
3859a6f69e IN PROGRESS: started on redex undefined check update 2014-04-16 22:06:04 -05:00
Robby Findler
80c27cd3b4 bring contract tests up to date with changes to undefined 2014-04-16 22:06:04 -05:00
Robby Findler
5db4514004 update correct answer for mac os x redex bitmap test 2014-04-16 22:06:03 -05:00
Asumu Takikawa
4d7703770f Minor fix for TR docs for struct
Please merge to v6.0.1
2014-04-16 17:48:08 -04:00
Jay McCarthy
d881e0cc60 increase pkg timeout 2014-04-16 15:37:34 -06:00
Jay McCarthy
4e6ce98823 have drdr ignore stderr that doesn't matter 2014-04-16 15:37:34 -06:00
Jay McCarthy
ccacb3ac11 fix srcloc 2014-04-16 15:37:34 -06:00
Jay McCarthy
df3a082d1e fix initialization error 2014-04-16 15:37:34 -06:00
Jay McCarthy
62466ddf9e repair props 2014-04-16 15:37:34 -06:00
Asumu Takikawa
e3f7aa4df2 Fix TR reference docs for for
Please merge to v6.0.1
2014-04-16 17:30:19 -04:00
Vincent St-Amour
80bf6a93e5 Fix shapes with borders to work with pen styles. 2014-04-16 15:14:02 -04:00
Jay McCarthy
744fde1fa8 Demonstrate Racket/Datalog interop more and add unsyntax 2014-04-16 12:59:08 -06:00
Asumu Takikawa
d6a3d27e54 Mark class support as experimental in the TR docs
Please merge to v6.0.1
2014-04-16 14:58:48 -04:00
Matthew Flatt
d212fc7eba racket/draw Cocoa: fix surroate-pair patch for Pango 2014-04-16 12:53:07 -06:00
Jay McCarthy
004957bcd6 Add FAQ section 2014-04-16 12:30:11 -06:00
Jay McCarthy
1df71a96e0 typo 2014-04-16 10:22:41 -06:00
Jay McCarthy
445189bcfa fix typo 2014-04-16 10:22:41 -06:00
Matthew Flatt
047b3d0f28 fix use-before-definition bug in HtDP language implementation
Closes PR 14447
2014-04-16 08:04:36 -06:00
Matthew Flatt
50bea642b2 adjust errortrace to record potential use-before-definition sites
Formerly, reference to a local variable could never raise an
exception.
2014-04-16 07:02:50 -06:00
Matthew Flatt
6ce5e3d34a optimizer repair related to use-before-defined
Don't optimize away a use-before-definition in an early compiler
pass. (More specifically, adjust the meaning of a flag within an
optimization helper function so that it works for decisions before the
letrec-fixing pass.)
2014-04-16 07:02:50 -06:00
Asumu Takikawa
6c400adce0 Update HISTORY file for mzlib/class100 removal 2014-04-16 00:33:37 -04:00
Asumu Takikawa
5711e9002f Remove the mzlib/class100 library.
Uses of mzlib/class100 have already been removed. The library's
removal was promised in the release notes for Racket v5.3.2.
2014-04-16 00:28:55 -04:00
Matthew Flatt
9fb6f1947b racket/shared: fix test 2014-04-15 20:15:06 -06:00
Matthew Flatt
bc47a58e1d racket/sandbox: fix use-before-definition bug 2014-04-15 20:15:06 -06:00
Matthew Flatt
6452568753 fix test for check-not-unsafe-undefined 2014-04-15 20:15:05 -06:00
Matthew Flatt
2b63977f24 avoid compiler warnings 2014-04-15 20:15:05 -06:00
Matthew Flatt
b4c99eba17 mzlib/unit200: fix for undefined 2014-04-15 20:15:05 -06:00
Asumu Takikawa
9aaaf98b32 Fix TR class support for new class expansion
Also add a type for `check-not-unsafe-undefined` which shows
up in the expanded code now.
2014-04-15 21:18:04 -04:00
Matthew Flatt
aa43797b63 redex: temporary fix for undefined change
Allows `redex` to start, but the check for an undefined value needs
to be removed or adjusted.
2014-04-15 16:39:14 -06:00