Skip to content

Quotation unexpectedly creates cyclic structures #5376

Closed
@yallop

Description

@yallop

It's currently easy using quotation to inadvertently create a cyclic structure that fails when it's used. For example, the following code fails with a StackOverflowError on the call to show:

var e = '(1)
e = '(~e + 1)
e.show

@nicolasstucki tells me that this is likely to be fixed by the code in #5297, which makes the evaluation of quotations more eager.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions