From 21084904e4534ad1bad11020920ee7f2a8829a8f Mon Sep 17 00:00:00 2001 From: Matthew Lutze Date: Mon, 13 Jan 2025 12:16:27 +0100 Subject: [PATCH] fix: update syntax for effect handler --- test/Test/Property/TestListSet.flix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Test/Property/TestListSet.flix b/test/Test/Property/TestListSet.flix index 00e997d..a0fe385 100644 --- a/test/Test/Property/TestListSet.flix +++ b/test/Test/Property/TestListSet.flix @@ -20,7 +20,7 @@ mod JonathanStarup.Test.Property.TestListSet { use Abort.abort def runCrash(f: Unit -> Unit \ ef): Bool \ ef + IO - Abort = - run {f(); true} with Abort { + run {f(); true} with handler Abort { def abort(msg, _) = { println("Test failed: ${msg}"); false