August 05, 2005 error msg not understood | ||||
---|---|---|---|---|
| ||||
constructor dfa.Action.this (State ) does not match argument types () Error: expected 1 arguments, not 0 problem: the constructor is not called explicitely. -manfred |
August 05, 2005 Re: error msg not understood | ||||
---|---|---|---|---|
| ||||
Posted in reply to Manfred Nowak | On Fri, 5 Aug 2005 04:48:55 +0000 (UTC), Manfred Nowak <svv1999@hotmail.com> wrote:
> constructor dfa.Action.this (State ) does not match argument types ()
> Error: expected 1 arguments, not 0
>
> problem: the constructor is not called explicitely.
It is probably an invisible super() call in one of your constructors or perhaps an invisible super() call in an invisible constructor.
In other words you have a class, derived from a class, that only has one constructor, and it expects a State.
It would be nice if the error message said something about super() if it is indeed the cause.
Regan
|
Copyright © 1999-2021 by the D Language Foundation