aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/generic_arity.elna
blob: bb234afb2a8fddc689dc8906a303993f02de7e3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
type
  Stack#[T] = record
    items: T
  end

var
  broken: Stack (* @Error Too few type arguments for generic 'Stack', expected 1, got 0 *)

program()
begin
return 0u8

end.