We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
class Container<t> { def read() : int { 0; } } class Main def main() : void{ let bob = new Graph(10); bob.run(); } class Graph vat_array : [Container<int>] def init(size : int) : void { this.vat_array = new [Container<int>](size); for index in [0 .. |this.vat_array|-1]{ this.vat_array[index] = new Container<int>(); }; } def run() : void { this ! updateEdge(1,0); for index in [2 .. |this.vat_array|-1]{ let candidate = 1; (this.vat_array[candidate]).read() ~~> \(value : int) -> { this.vat_array[candidate]; }; }; } def updateEdge(node : int, connection : int) : void { (this.vat_array[node]).read() ~~> \(x:int) -> { () }; }
The memory for closures is corrupted; I see segfault within roughly 10 runs.
The text was updated successfully, but these errors were encountered:
Fixed by #376
Sorry, something went wrong.
albertnetymk
No branches or pull requests
The memory for closures is corrupted; I see segfault within roughly 10 runs.
The text was updated successfully, but these errors were encountered: