weird compile error

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/ 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?


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!