The Racket repository
![]() Invoking a non-composable, empty continuation during the right-hand side of a variable definition skips the definition --- while continuing the module body. The compiler assumes, however, that variable references later in the module do not need a check that the variable is undefined. Fix that mismatch by changing `module` to double-check that defined variables are really defined before continuing the module body. (The check and associated prompt are skipped in simple cases, such as function definitions.) A better choice is probably to move the prompt to the right-hand side of a definition, both in a module and at the top level. That's a much different language, though, so we should consider the point again in some future variant of Racket. Closes PR 14427 |
||
---|---|---|
native-pkgs@b698e73c35 | ||
pkgs | ||
racket | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.mailmap | ||
.travis.yml | ||
INSTALL.txt | ||
Makefile | ||
README.txt |
This is the source code for the main Racket distribution. See "INSTALL.txt" for information on building Racket. License ------- Racket Copyright (c) 2010-2014 PLT Design Inc. Racket is distributed under the GNU Lesser General Public License (LGPL). This means that you can link Racket into proprietary applications, provided you follow the rules stated in the LGPL. You can also modify Racket; if you distribute a modified version, you must distribute it under the terms of the LGPL, which in particular means that you must release the source code for the modified software. See racket/src/COPYING_LESSER.txt for more information.