Skip to content

Non-determinism: counts #2673

@ChristianGruen

Description

@ChristianGruen

Non-deterministic code should not be optimized away. Code like…

count($ten-strings ! (file:delete(.), .))

…is rewritten to count(replicate("", 10)).

A single count(file:delete('x')) will delete the file.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions