Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEFINE SERIALIZABLE DATASET throws ParseCancellationException #1141

Closed
gquerret opened this issue Sep 11, 2024 · 1 comment
Closed

DEFINE SERIALIZABLE DATASET throws ParseCancellationException #1141

gquerret opened this issue Sep 11, 2024 · 1 comment
Assignees
Labels

Comments

@gquerret
Copy link
Contributor

Copied from vscode-abl/vscode-abl#205:

I've seen the same error for this line in another file, so I can only assume proparse doesn't like serializable datasets...
TestSerializable.cls:

BLOCK-LEVEL ON ERROR UNDO, THROW.

CLASS Serializable.TestSerializable SERIALIZABLE:

    DEFINE PRIVATE SERIALIZABLE TEMP-TABLE w_TempTableName NO-UNDO
        FIELD FieldName AS INTEGER
        INDEX FieldName IS PRIMARY UNIQUE FieldName.

    DEFINE SERIALIZABLE DATASET ds_Test FOR w_TempTableName.

END CLASS.
[2024-09-10T11:55:29.306+0200] [ERROR] [Glims] Proparse error in 'Serializable\TestSerializable.cls' at position :9:25
[2024-09-10T11:55:29.306+0200] [INFO] [Glims] Compilation successful: Serializable\TestSerializable.cls

It seems to have no problem with the SERIALIZABLE TEMP-TABLE though...

Copy link
Contributor Author

Fixed in develop branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant