I get the weirdest error when I try to compile a class that extends another class, and takes that class as an argument to its constructor.
The code looks like this:
public class OrderedDepTreeModel extends RSDepTreeModel
public OrderedDepTreeModel(RSDepTreeModel tree) //line 18
and the error is this:
src/natlang/rdg/model/OrderedDepTreeModel.java:18: cannot resolve symbol
symbol: constructor RSDepTreeModel ()
location: class natlang.rdg.model.RSDepTreeModel
The classes are in the same package, by the way. Does anyone have a clue as to what could cause this?