" calls itself with a different set of quotation parameters than were input" surround ;
M: unknown-primitive-error summary
- word>> name>> "The " " word cannot be called from optimized words" surround ;
+ drop "The do-primitive word cannot be called from here" ;
M: transform-expansion-error summary
word>> name>> "Macro expansion of " " threw an error" surround ;
[ [ call-effect ] infer ] [ T{ unknown-macro-input f call-effect } = ] must-fail-with
[ [ execute-effect ] infer ] [ T{ unknown-macro-input f execute-effect } = ] must-fail-with
+
+[ \ set-callstack def>> infer ] [ T{ unknown-primitive-error } = ] must-fail-with
+[ ] [ [ \ set-callstack def>> infer ] try ] unit-test