Warn about unreachable code.
svn: r12146
This commit is contained in:
parent
5db61f199f
commit
0f347883dd
|
@ -52,6 +52,8 @@
|
|||
(if (null? effs)
|
||||
;; base case
|
||||
(let* ([reachable? (not (unbox flag))])
|
||||
(unless reachable?
|
||||
(warn-unreachable expr))
|
||||
(cond
|
||||
;; if flag is true, then we don't want to verify that this branch has the appropriate type
|
||||
;; in particular, it might be (void)
|
||||
|
|
Loading…
Reference in New Issue
Block a user