diff options
author | Stas Boukarev <stassats@gmail.com> | 2018-04-20 23:06:16 +0300 |
---|---|---|
committer | Stas Boukarev <stassats@gmail.com> | 2018-04-20 23:08:36 +0300 |
commit | 453bf5ad31fc4b72a11d4656613f55483bf35d79 (patch) | |
tree | 7c5592cbdd5016628b630f8b7326cef1e318a135 /tests/bad-code.pure.lisp | |
parent | 0130dc9930c77a8adbd06be260ac94118ee56b24 (diff) |
ir1-optimize-combination: stop if derive-type finds an error in the call.
And makes combination-kind :error.
Fixes lp#1765749
Diffstat (limited to 'tests/bad-code.pure.lisp')
-rw-r--r-- | tests/bad-code.pure.lisp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bad-code.pure.lisp b/tests/bad-code.pure.lisp index 65de3e2c4..5faa651f9 100644 --- a/tests/bad-code.pure.lisp +++ b/tests/bad-code.pure.lisp @@ -162,6 +162,15 @@ (make-array (do))) :allow-failure t)))) +(with-test (:name (make-array :dimensions :bad-propagated-value)) + (assert + (nth-value 1 + (checked-compile + `(lambda () + (let ((x '(("foo")))) + (make-array (list x) :fill-pointer 0))) + :allow-warnings t)))) + (with-test (:name :&rest-ref-bad-n) (assert (nth-value 1 @@ -314,3 +323,5 @@ `(lambda () (apply 'find '(3 (1 2 3) :bad t))) :allow-warnings t)))) + + |