make events display like they used to

svn: r7349
This commit is contained in:
Greg Cooper 2007-09-15 22:10:08 +00:00
parent b7c441833e
commit 7846afa7c1
2 changed files with 4 additions and 1 deletions

View File

@ -170,6 +170,8 @@
(make-object string-snip% "<undefined>")
)
]
[(event? beh)
(make-object value-snip% beh)]
[(or (behavior? beh) (any-nested-reactivity? beh))
(make-object dynamic-snip% (raise-reactivity beh) super-render-fun)]
[(signal? beh)

View File

@ -150,7 +150,8 @@
result)))]
; won't work in the presence of super structs or immutable fields
[(struct? obj)
(let*-values ([(info skipped) (struct-info obj)]
obj
#;(let*-values ([(info skipped) (struct-info obj)]
[(name init-k auto-k acc mut! immut sup skipped?) (struct-type-info info)]
[(ctor) (struct-type-make-constructor info)]
[(indices) (build-list init-k identity)]