Typed Racket
Go to file
Asumu Takikawa f579129af8 Adjust handling of types for non-expressions
Some forms like `define` do not produce a value
and thus do not have a type. Instead of returning
the #<void> value for these cases, return the symbol
'no-type.

Also fix printing in several places to reflect this.

Fixes a regression due to commit 00470e3 and also
fixes an unreported bug with (:print-type ...) on
non-expressions.

Closes PR 13758

original commit: 1747b700976a664ec7ee5a9004e02a173910a2e2
2014-02-27 17:17:54 -05:00
pkgs/typed-racket-pkgs Adjust handling of types for non-expressions 2014-02-27 17:17:54 -05:00