From 2f3e07d282382050823ad10c674c8e9f212d2254 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Mon, 16 Dec 2024 11:47:37 +0100 Subject: [PATCH] Make `Enum` an abstract struct (#15274) --- src/enum.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/enum.cr b/src/enum.cr index 8b6ca9eebbae..0b2214ff34ad 100644 --- a/src/enum.cr +++ b/src/enum.cr @@ -100,7 +100,7 @@ # # Color::Red.value # : UInt8 # ``` -struct Enum +abstract struct Enum include Comparable(self) # Returns *value*.