Skip to content

Omit toString() on array larger than max length #689

@Kronos3

Description

@Kronos3

There is no size bound on array members inside struct definitions. If the size is very large, the toString() becomes boundlessly large and hangs compilation. I think it is reasonable to limit the toString() codegen to arrays smaller than 256. We could probably put in some default format or ... syntax for arrays larger than a certain size in-place of the toString().

Related to #688.

Metadata

Metadata

Assignees

Labels

code generationIssues related to code generation

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions