lib/lisp/tests/destructuring-examples.nydp in nydp-0.5.1 vs lib/lisp/tests/destructuring-examples.nydp in nydp-0.6.0
- old
+ new
@@ -74,10 +74,10 @@
; a lot of ceremony here to suppress side-effects of compiling really crap code and just get the warnings
("warns about arg names shadowing macro names"
(do (without-hooks 'warnings/new
λ(on-err nil
- (pre-compile '(fun (aif (and or) . when)
+ (apply macs.fun '((aif (and or) . when)
ignore))))
warnings/list)
((arg-shadows-macro "arg " when " shadows macro " when " in arg list " (aif (and or) . when) " and body " (ignore) )
(arg-shadows-macro "arg " or " shadows macro " or " in arg list " (aif (and or) . when) " and body " (ignore) )
(arg-shadows-macro "arg " and " shadows macro " and " in arg list " (aif (and or) . when) " and body " (ignore) )