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

Compiler has unbounded recursion when generating object conversion for recursive data structures #297

Open
ghewgill opened this issue Aug 18, 2020 · 0 comments
Labels

Comments

@ghewgill
Copy link
Owner

TYPE Rec IS RECORD
    a: Array<Rec>
END RECORD

VAR a: Rec := Rec()
VAR o: Object := a

The solution to this will certainly involve generating new conversion functions that are themselves recursive.

@ghewgill ghewgill added the bug label Aug 18, 2020
@ghewgill ghewgill changed the title Compiler has unbounded recursion when generation object conversion for recursive data structures Compiler has unbounded recursion when generating object conversion for recursive data structures Aug 18, 2020
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