Skip to content

Cuddle hangs on duplicate name for generic variable #80

Closed
@jasagredo

Description

@jasagredo

This file makes cuddle hang when resolving the spec.

state2.txt

To my surprise I was able to narrow it down to the following definition:

shelleyLedgerState<era> = [
    withOrigin<shelleyTip>,
    era,
    shelleyTransition,
]

For some reason, changing the generic variable to something different than era makes cuddle happy:

shelleyLedgerState<foo> = [
    withOrigin<shelleyTip>,
    foo,
    shelleyTransition,
]

I said "duplicate" because the definition wrapping that one also uses era:

versionedShelleyLedgerState<era> = [
    shelleyVersion2,
    shelleyLedgerState<era>,
]

Metadata

Metadata

Assignees

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