Skip to content

docs: FAQ's definition of type stability differs from that in code_warntyped #39752

@ulysses4ever

Description

@ulysses4ever

(Sorry for sending an empty body first)

FAQ says:

[type stable] means that the type of the output is predictable from the types of the inputs

While code_warntyped manual:

The ASTs are annotated in such a way as to cause "non-leaf" types to be emphasized (if color is available, displayed in red). This serves as a warning of potential type instability.

What is the right interpretation of type stability: all intermediate forms have concrete types or only output is concrete?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions