Skip to content

Commit e5a6d98

Browse files
committed
more fallout from the 'lang-default change in 7758b68
1 parent ebf0e28 commit e5a6d98

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

drracket-core-lib/drracket/private/language.rkt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,14 @@
239239
(define (get-simple-settings-annotations settings the-irl)
240240
(cond
241241
[(equal? (drracket:language:simple-settings-annotations settings) 'lang-default)
242-
(call-read-language the-irl
243-
'drracket:default-instrumentation
244-
'debug)]
242+
;; when we get here in the module language but we don't have an irl,
243+
;; that means that we're doing online expansion so we should use 'none
244+
;; for the annotations
245+
(if the-irl
246+
(call-read-language the-irl
247+
'drracket:default-instrumentation
248+
'debug)
249+
'none)]
245250
[else (drracket:language:simple-settings-annotations settings)]))
246251

247252
(define (simple-settings->vector s)

0 commit comments

Comments
 (0)