check syntax does not call eval-compile-time-part-of-top-level when

checking programs in the module language.
closes PR 10908
This commit is contained in:
Robby Findler 2010-12-25 15:38:08 -06:00
parent e7b52bf10f
commit dd531dde9e
2 changed files with 9 additions and 8 deletions

View File

@ -1322,12 +1322,13 @@ If the namespace does not, they are colored the unbound color.
(send the-tab clear-annotations)
(send the-tab reset-offer-kill)
(send (send the-tab get-defs) syncheck:init-arrows)
(define settings (send definitions-text get-next-settings))
(drracket:eval:expand-program
#:gui-modules? #f
(drracket:language:make-text/pos definitions-text 0 (send definitions-text last-position))
(send definitions-text get-next-settings)
#t
settings
(not (is-a? (drracket:language-configuration:language-settings-language settings)
drracket:module-language:module-language<%>))
init-proc
kill-termination
(λ (sexp loop) ; =user=

View File

@ -276,11 +276,11 @@ trigger runtime errors in check syntax.
(" " default-color)
("x" lexically-bound)
(")" default-color))
(list '(((21 22) (55 56))
((23 24) (39 40) (47 48))
((25 26) (41 42))
((27 28) (49 50))
((57 58) (59 60) (61 62)))))
(list '((21 22) (55 56))
'((23 24) (39 40) (47 48))
'((25 26) (41 42))
'((27 28) (49 50))
'((57 58) (59 60) (61 62))))
(build-test "(module m mzscheme)"
'(("(" default-color)