aboutsummaryrefslogtreecommitdiff
path: root/testsuite/compilable/generic_alias.elna
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-10-03 20:51:22 +0200
committerEugen Wissner <belka@caraus.de>2026-10-03 20:51:22 +0200
commite4ce7f658741a7428597da4872435a1b0bae944c (patch)
tree50f65abf6fa4468db7bc93a6ae61d623a2dd8566 /testsuite/compilable/generic_alias.elna
parent5d808dd4c4003968bbdf180e1e1193231db5d43b (diff)
downloadelna-e4ce7f658741a7428597da4872435a1b0bae944c.tar.gz
Rework generics for parameters to be plain types
Diffstat (limited to 'testsuite/compilable/generic_alias.elna')
-rw-r--r--testsuite/compilable/generic_alias.elna10
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuite/compilable/generic_alias.elna b/testsuite/compilable/generic_alias.elna
index 47ac638..da9501a 100644
--- a/testsuite/compilable/generic_alias.elna
+++ b/testsuite/compilable/generic_alias.elna
@@ -6,7 +6,7 @@ type
Node#[T] = record
next: ^Node#[T];
- value: T
+ value: ^T
end
Ref#[T] = ^T
@@ -16,10 +16,10 @@ type
end
var
- chain: Node#[^File]
- aliased: Ref#[^File]
- raw: ^^File
- boxed: Boxed#[^File]
+ chain: Node#[File]
+ aliased: Ref#[File]
+ raw: ^File
+ boxed: Boxed#[File]
begin
chain.next := nil;