summaryrefslogtreecommitdiff
path: root/test/gtrait.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/gtrait.myr')
-rw-r--r--test/gtrait.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gtrait.myr b/test/gtrait.myr
index 5131ccc..9d84b45 100644
--- a/test/gtrait.myr
+++ b/test/gtrait.myr
@@ -4,7 +4,7 @@ trait comparable @a =
cmp : (a : @a, b : @a -> std.order)
;;
-impl comparable @a::numeric =
+impl comparable @a :: numeric @a =
cmp = {a, b
-> std.numcmp(a, b)
}