From e4ce7f658741a7428597da4872435a1b0bae944c Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sat, 3 Oct 2026 20:51:22 +0200 Subject: Rework generics for parameters to be plain types --- testsuite/runnable/generic_constructor.elna | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testsuite/runnable/generic_constructor.elna') diff --git a/testsuite/runnable/generic_constructor.elna b/testsuite/runnable/generic_constructor.elna index d0a3f78..b21cd4a 100644 --- a/testsuite/runnable/generic_constructor.elna +++ b/testsuite/runnable/generic_constructor.elna @@ -5,16 +5,16 @@ type end Stack#[T] = record - items: T; + items: ^T; top: Word end var - s: Stack#[^File] + s: Stack#[File] f: File begin - s := Stack#[^File]{ top: 1u, items: @f }; + s := Stack#[File]{ top: 1u, items: @f }; assert(s.top = 1u); assert(s.items = @f) end. -- cgit v1.2.3