aboutsummaryrefslogtreecommitdiffstats
path: root/ajde/testdata/bug-83565/Bug.java
blob: 44506e01399949db29917c68c7823c7502698c2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package mj.compiler.ast;

import java.util.Vector;

class Sequence<T extends AST> extends AST {
	
	private Vector<T> elements = new Vector<T>();
	
	public Sequence(T element) {
//		super(element);
		elements.add(element);
    }
    
	public int length()       { return elements.size(); }
	public T elementAt(int i) { return elements.elementAt(i); }
}

class AST<T> {
    public AST() { } 
    
    public AST(T element) {  }
}