From 491e62664394a8689a3f8904fbe8dbc3dea05524 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 30 Aug 2026 02:08:45 +0200 Subject: Fix ICEs with recursive type declarations --- testsuite/fail_compilation/procedure-cycle.elna | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 testsuite/fail_compilation/procedure-cycle.elna (limited to 'testsuite/fail_compilation/procedure-cycle.elna') diff --git a/testsuite/fail_compilation/procedure-cycle.elna b/testsuite/fail_compilation/procedure-cycle.elna new file mode 100644 index 0000000..aaed14c --- /dev/null +++ b/testsuite/fail_compilation/procedure-cycle.elna @@ -0,0 +1,3 @@ +type + A = proc(): A (* @Error Type declaration forms a cycle: A -> A *) +end. -- cgit v1.2.3