aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/generic_arity.elna
blob: 3284a8339ee5ef5f692b68dcba3598293fb88acf (plain)
1
2
3
4
5
6
7
8
9
10
11
module

type
  Stack#[T] = record
    items: ^T
  end

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

end.