We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 982392a commit 8895c0fCopy full SHA for 8895c0f
test/tests/sagittarius/continuations.scm
@@ -243,4 +243,25 @@
243
(call-with-composable-continuation values tag)))))
244
tag))
245
246
+(test-equal '(foo bar)
247
+ (let ([tag (make-continuation-prompt-tag)])
248
+ (call-with-continuation-prompt
249
+ (lambda ()
250
+ (+ 1
251
+ (abort-current-continuation tag 'foo 'bar)
252
+ 2))
253
+ tag
254
+ list)))
255
+
256
+(test-equal 27
257
258
259
260
+ (abort-current-continuation tag
261
262
263
264
+ 27)))))
265
266
+ #f)))
267
(test-end)
0 commit comments