aboutsummaryrefslogtreecommitdiff
path: root/testsuite/fail_compilation/generic_arity.elna
blob: 645adedbcb6ee62314716cfb108838546552fc77 (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.