From c22f7b9021bb6197404010f2cef1785a2ceb5fdf Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 10 Nov 2026 16:42:20 +0000 Subject: [PATCH] fix(abi): put the Eq doc comment above public export The merge placed '||| Equality on severity' between 'public export' and 'Eq Severity where'. Idris2 then rejects 'public export' as a declaration start (idris-abi on b332b5f). Doc comment first, as on main. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_0136P7ZnmBahbhfkFEP6ark4 --- src/abi/Types.idr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/abi/Types.idr b/src/abi/Types.idr index e9cefc3..f3eef79 100644 --- a/src/abi/Types.idr +++ b/src/abi/Types.idr @@ -20,8 +20,8 @@ import Data.Fin public export data Severity = Info | Warning | Error | Critical -public export ||| Equality on severity, required by `Ord`. +public export Eq Severity where Info == Info = True Warning == Warning = True