consultingwerk / proparse

Proparse, forked from http://www.oehive.org/proparse/
Other
18 stars 9 forks source link

Expecting Field_ref, found Widget_ref #44

Open DanielBaciu opened 3 years ago

DanielBaciu commented 3 years ago

We have the following class.

class Field_ref.cls: define private variable gbhDatabaseTable as handle no-undo. method private void Initialize(input ipcTableName as character): create buffer this-object:gbhDatabaseTable for table ipcTableName. end method. end class.

When parsing we get this error:

expecting Field_ref, found 'Widget_ref "" ...\Field_ref.cls:0:0' -> File: ...\Field_ref.cls Line: 15 Column: 5 Type: CREATE Text: create

mikefechner commented 3 years ago

Please attach the complete class file as a repro and indicate the version of Proparse you are using.

Are you intending to fix this and issue a pull-request?

DanielBaciu commented 3 years ago

I'm using proparse.dll version 4.1.0.1219. Please fix it if possible.

No stack trace is generated. Only one line with the error I mentioned is written in the log.

Field_ref.zip