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

Add infinite recursion checks to lepiter's Pharo snippet #3753

Open
akgrant43 opened this issue May 6, 2024 · 0 comments
Open

Add infinite recursion checks to lepiter's Pharo snippet #3753

akgrant43 opened this issue May 6, 2024 · 0 comments
Assignees

Comments

@akgrant43
Copy link
Contributor

Extend lepiter's Pharo snippet so that infinite recursion is checked during evaluation, e.g. evaluating:

block := [ :x | x > 0 
	ifTrue: [ block value: x - 1 ]
	ifFalse: [ 2 seconds wait ] ].
block value: 10000.

will result in a GtStackOverflowError.

@akgrant43 akgrant43 self-assigned this May 6, 2024
akgrant43 added a commit to feenkcom/gt4pharo that referenced this issue May 6, 2024
syrel pushed a commit that referenced this issue May 6, 2024
Metacello new
    baseline: 'GToolkitForPharo9';
    repository: 'github://feenkcom/gtoolkit:v1.0.732/src';
    load

All commits (including upstream repositories) since last build:
feenkcom/gt4pharo@60ea13 by Alistair Grant
Merge remote-tracking branch 'origin/main'


feenkcom/gt4pharo@98ff9a by Alistair Grant
Add GToolkit-Utility-StackOverflow to the list of dependencies.

feenkcom/gt4pharo@cd87ac by John Brant
[#3748] temp didn't get added when first use was an assignment

feenkcom/gt4pharo@0e4f32 by Alistair Grant
Merge remote-tracking branch 'origin/main'


feenkcom/gt4pharo@e623a0 by Alistair Grant
[#3753] GtPharoSourceCoder - check for infinite recursion while evaluating expressions.

feenkcom/lepiter@030479 by Tudor Girba
Merge 3980c5e5d0a43bff0c2bf82af73023dde312a32f

feenkcom/lepiter@d37ea8 by Tudor Girba
use code font for shell output and script #3744
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant